staging: vt6655: fix sparse warning "cast removes address space of expression"
authorJames A Shackleford <shack@linux.com>
Sun, 1 Jun 2014 00:09:05 +0000 (20:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 23:33:44 +0000 (16:33 -0700)
commitebc43d093b38262f1fc51018a50892ce3a144852
tree7fb16c29b4d2593b84c784a9fd5d044d9db48047
parent4e13d410e6bd2a472ba1e9c2675a42ea61c24ac9
staging: vt6655: fix sparse warning "cast removes address space of expression"

Add missing __user macro to second parameter of ethtool_ioctl().
This removes the need for the offending (void *) cast of the user space pointer
rq->ifr_data.

Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c
This page took 0.025212 seconds and 5 git commands to generate.