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


Groups > linux.kernel > #1209411 > unrolled thread

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

Started byAparna Karuthodi <kdasaparna@gmail.com>
First post2015-08-18 19:50 +0200
Last post2015-08-18 19:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

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

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

FromAparna Karuthodi <kdasaparna@gmail.com>
Date2015-08-18 19:50 +0200
Subject[PATCH] staging: i2o: Used <linux/uaccess.h>
Message-ID<pYTbk-4Se-19@gated-at.bofh.it>
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web