From 2eb61f38821979dd3d065a8bbb72dc9f6306f005 Mon Sep 17 00:00:00 2001 From: Martin Berglund Date: Sat, 9 Aug 2014 01:26:45 +0200 Subject: [PATCH] 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 --- 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 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; -- 2.30.2