Skip to contentSkip to conversation

Staging: rtl8192u: ieee80211: Replace "#include <asm/uaccess>" with "#include <linux/uaccess>"

PATCH In review Shraddha Barke 2 participants 7 messages Sep 10, 2015 1 message not in the archive Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 Staging: rtl8192u: ieee80211: Replace "#include <asm/uaccess>" with "#include <linux/uaccess>"

Fix checkpatch.pl warning "Use #include <linux/uaccess.h> instead of <asm/uaccess.h>"

---
 drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c +1 -1
index fff8d58..1ab0aea 100644
@@ -48,7 +48,7 @@
 #include <linux/types.h>
 #include <linux/wireless.h>
 #include <linux/etherdevice.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <linux/if_vlan.h>
 
 #include "ieee80211.h"
Signature · 1 line
2.1.4
#1 lore raw

PATCH 2/5 Staging: rtl8192u: ieee80211: ieee80211_softmac.c: Replace "#include <asm/uaccess>" with "#include <linux/uaccess>"

Fix checkpatch.pl warning "Use #include <linux/uaccess.h> instead of <asm/uaccess.h>"

---
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c +1 -1
index 39e9892..e4624e8 100644
@@ -19,7 +19,7 @@
 #include <linux/random.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <linux/etherdevice.h>
 
 #include "dot11d.h"
Signature · 1 line
2.1.4
#2 lore raw

PATCH 3/5 Staging: rtl8192u: ieee80211: ieee80211_module.c: Replace "#include <asm/uaccess>" with "#include <linux/uaccess>"

In reply to Shraddha Barke

Fix checkpatch.pl warning "Use #include <linux/uaccess.h> instead of <asm/uaccess.h>"

---
 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c +1 -1
index 31233d8..425b2dd 100644
@@ -48,7 +48,7 @@
 #include <linux/types.h>
 #include <linux/wireless.h>
 #include <linux/etherdevice.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <net/arp.h>
 
 #include "ieee80211.h"
Signature · 1 line
2.1.4
#3 lore raw

PATCH 4/5 Staging: rtl8192u: r8192U_core.c: Replace "#include <asm/uaccess>" with "#include <linux/uaccess>"

In reply to Shraddha Barke

Fix checkpatch.pl warning "Use #include <linux/uaccess.h> instead of <asm/uaccess.h>"

---
 drivers/staging/rtl8192u/r8192U_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/r8192U_core.c +1 -1
index 577d3a4..cfb0713 100644
@@ -58,7 +58,7 @@ double __extendsfdf2(float a)
 
 #define CONFIG_RTL8192_IO_MAP
 
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include "r8192U_hw.h"
 #include "r8192U.h"
 #include "r8190_rtl8256.h" /* RTL8225 Radio frontend */
Signature · 1 line
2.1.4
#4 lore raw

Re: [PATCH 4/5] Staging: rtl8192u: r8192U_core.c: Replace "#include <asm/uaccess>" with "#include <linux/uaccess>"

Quoted 5 lines · Shraddha Barke

Fix checkpatch.pl warning "Use #include <linux/uaccess.h> instead of <asm/uaccess.h>"

---

This has already been done by:
f05937c591aa ("staging: rtl8192u: r8192U_core: include linux/uaccess.h instead of asm/uaccess.h")

regards
sudip

A message that is not in the archive (sent off-list or not yet received): CAO393AATRHWKxVbPDdMADR_s8bxF=qkRoCbxgRMFBQwFiLkzQw@mail.gmail.com

#6 lore raw

Re: [PATCH 4/5] Staging: rtl8192u: r8192U_core.c: Replace "#include <asm/uaccess>" with "#include <linux/uaccess>"

Quoted 1 line · Shraddha Barke

Oops! Should I send a version 2 of the series dropping this patch?

Not required. I hope Greg will see these 3 mails and will not try to apply this patch. But just to be safe reply to the patch asking Greg not to apply that particular patch.

regards
sudip

#7 lore raw

PATCH 5/5 Staging: wilc1000: Replace "#include <asm/uaccess>" with "#include <linux/uaccess>"

In reply to Shraddha Barke

Fix checkpatch.pl warning "Use #include <linux/uaccess.h> instead of <asm/uaccess.h>"

---
 drivers/staging/wilc1000/linux_wlan_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/wilc1000/linux_wlan_spi.c +1 -1
index 236669c..eef7633 100644
@@ -5,7 +5,7 @@
 #include <linux/slab.h>
 #include <linux/types.h>
 #include <linux/cdev.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <linux/device.h>
 #include <linux/spi/spi.h>
 
Signature · 1 line
2.1.4