projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5b4e00
)
staging: vt6655: iowpa.h: Fix sparse warnings
author
Martin Berglund
<martin@rogsta.net>
Fri, 8 Aug 2014 23:26:45 +0000
(
01:26
+0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:05 +0000
(12:23 -0700)
This resolves a sparse address space warning in wpactl.c
Signed-off-by: Martin Berglund <martin@rogsta.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/iowpa.h
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6655/iowpa.h
b/drivers/staging/vt6655/iowpa.h
index 772bc4c2a7b9bc80a9aec6f0cf3a77e64bae7ada..fe4b22ed49f4157f5dc1356ead3c118838a3bcfb 100644
(file)
--- a/
drivers/staging/vt6655/iowpa.h
+++ b/
drivers/staging/vt6655/iowpa.h
@@
-75,7
+75,7
@@
struct viawget_wpa_param {
u8 bssid[6];
u8 ssid[32];
u8 ssid_len;
- u8 *wpa_ie;
+ u8
__user
*wpa_ie;
u16 wpa_ie_len;
int pairwise_suite;
int group_suite;
@@
-102,7
+102,7
@@
struct viawget_wpa_param {
struct {
u16 scan_count;
- u8 *buf;
+ u8
__user
*buf;
} scan_results;
} u;