From: Martin Berglund Date: Fri, 8 Aug 2014 23:26:45 +0000 (+0200) Subject: staging: vt6655: iowpa.h: Fix sparse warnings X-Git-Tag: v3.18-rc1~130^2~1420 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2eb61f38821979dd3d065a8bbb72dc9f6306f005;p=karo-tx-linux.git staging: vt6655: iowpa.h: Fix sparse warnings This resolves a sparse address space warning in wpactl.c Signed-off-by: Martin Berglund Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/iowpa.h b/drivers/staging/vt6655/iowpa.h index 772bc4c2a7b9..fe4b22ed49f4 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;