Skip to contentSkip to conversation

staging: i2o: Used <linux/uaccess.h>

PATCH In review Aparna Karuthodi 3 participants 4 messages Aug 18, 2015 – Sep 8, 2015 Staging

lore
Share & tools
lore
#0 lore raw

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

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>

---
 drivers/staging/i2o/config-osm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/i2o/config-osm.c +1 -1
index 519f52f..45091ac 100644
@@ -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"
Signature · 1 line
1.7.9.5
maintainer
#1 lore raw
Quoted 10 lines · Aparna Karuthodi

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>

---
 drivers/staging/i2o/config-osm.c |    2 +-

This file isn't in any kernel tree that I see anymore, what kernel did you make this against?

greg k-h

#2 lore raw

2015-09-03 13:46 GMT-03:00 Greg KH <[email protected]>:

Quoted 6 lines · Aparna Karuthodi
Quoted 2 lines

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

This file isn't in any kernel tree that I see anymore, what kernel did you make this against?

Greg, he should fix code all files ?

Signature · 2 lines
Albino B Neto
www.bino.us
maintainer
#3 lore raw
Quoted 9 lines · Albino B Neto

2015-09-03 13:46 GMT-03:00 Greg KH <[email protected]>:

Quoted 6 lines · Aparna Karuthodi
Quoted 2 lines

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

This file isn't in any kernel tree that I see anymore, what kernel did you make this against?

Greg, he should fix code all files ?

I'm sorry, but I can not parse that sentance, please try rewording it.