staging: vt6655: wpactl.c: Fix sparse warnings
authorMartin Berglund <martin@rogsta.net>
Thu, 7 Aug 2014 22:08:34 +0000 (23:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:15 +0000 (12:23 -0700)
commiteffda6973dba27d80a669855603bdc0971f89449
tree2a9398bffe5d6f595d5b25a3d53c6b336d98f1c4
parent2160e944a911dae3c4b40cca72d6c83af6f85bb5
staging: vt6655: wpactl.c: Fix sparse warnings

Add missing __user macro casting in the function wpa_set_keys.
This is okay since the function handles the possibility of
param->u.wpa_key.key and param->u.wpa_key.seq pointing to
kernelspace using a flag, fcpfkernel.

Signed-off-by: Martin Berglund <martin@rogsta.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/wpactl.c
This page took 0.024943 seconds and 5 git commands to generate.