Skip to contentSkip to conversation

Staging: rtl8723au: Replace header files

PATCH In review Bhumika Goyal 2 participants 4 messages Feb 12, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: rtl8723au: Replace header files

The headers <asm/uaccess.h>,<asm/atomic.h>,<asm/atomic.h> should not be directly included so replace them.
Warning generated by checkpatch.pl.

---
 drivers/staging/rtl8723au/include/osdep_service.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8723au/include/osdep_service.h +3 -3
index dedb418..98250b1 100644
@@ -29,10 +29,10 @@
 #include <linux/kref.h>
 #include <linux/netdevice.h>
 #include <linux/skbuff.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <asm/byteorder.h>
-#include <asm/atomic.h>
-#include <asm/io.h>
+#include <linux/atomic.h>
+#include <linux/io.h>
 #include <linux/semaphore.h>
 #include <linux/sem.h>
 #include <linux/sched.h>
Signature · 1 line
1.9.1
#1 lore raw
Quoted 1 line · Bhumika Goyal

The headers <asm/uaccess.h>,<asm/atomic.h>,<asm/atomic.h> should not be

A comma should always have a space after it.

julia

Quoted 36 lines

directly included so replace them.
Warning generated by checkpatch.pl.

---
 drivers/staging/rtl8723au/include/osdep_service.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/rtl8723au/include/osdep_service.h +3 -3
index dedb418..98250b1 100644
@@ -29,10 +29,10 @@
 #include <linux/kref.h>
 #include <linux/netdevice.h>
 #include <linux/skbuff.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <asm/byteorder.h>
-#include <asm/atomic.h>
-#include <asm/io.h>
+#include <linux/atomic.h>
+#include <linux/io.h>
 #include <linux/semaphore.h>
 #include <linux/sem.h>
 #include <linux/sched.h>
Signature · 8 lines
1.9.1

-- 
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1455274339-15418-1-git-send-email-bhumirks%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
#2 lore raw

Will keep in mind for the coming patches. Should I send a v2 ?

#3 lore raw
Quoted 1 line · Bhumika Goyal

Will keep in mind for the coming patches. Should I send a v2 ?

Probably not worth it.

julia

Quoted 12 lines

--
You received this message because you are subscribed to the Google Groups
"outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/aa3b37b8-7ed7-4099-9c9b- 1029173187c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.