[PATCH] staging: vt6655: iowpa.h: Fix sparse warnings

From: Martin Berglund
Date: Fri Aug 08 2014 - 19:27:11 EST


This resolves a sparse address space warning in wpactl.c

Signed-off-by: Martin Berglund <martin@xxxxxxxxxx>
---
drivers/staging/vt6655/iowpa.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/vt6655/iowpa.h b/drivers/staging/vt6655/iowpa.h
index 772bc4c..fe4b22e 100644
--- 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;
--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/