Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1209411

[PATCH] staging: i2o: Used <linux/uaccess.h>

From Aparna Karuthodi <kdasaparna@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] staging: i2o: Used <linux/uaccess.h>
Date 2015-08-18 19:50 +0200
Message-ID <pYTbk-4Se-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Used #include <linux/uaccess.h> instead of  #include <asm/uaccess.h> to
remove a coding style warning detected by checkpatch.

The warning is given below:
drivers/staging/i2o/config-osm.c:22: WARNING: Use #include
<linux/uaccess.h> instead of <asm/uaccess.h>

Signed-off-by: Aparna Karuthodi <kdasaparna@gmail.com>
---
 drivers/staging/i2o/config-osm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/i2o/config-osm.c b/drivers/staging/i2o/config-osm.c
index 519f52f..45091ac 100644
--- a/drivers/staging/i2o/config-osm.c
+++ b/drivers/staging/i2o/config-osm.c
@@ -19,7 +19,7 @@
 #include <linux/namei.h>
 #include <linux/fs.h>
 
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #define OSM_NAME	"config-osm"
 #define OSM_VERSION	"1.323"
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] staging: i2o: Used <linux/uaccess.h> Aparna Karuthodi <kdasaparna@gmail.com> - 2015-08-18 19:50 +0200

csiph-web