From: Malcolm Priestley Date: Mon, 13 Jan 2014 16:21:09 +0000 (+0000) Subject: staging: vt6656: sparse fixes ethtool_ioctl Use struct ifreq * X-Git-Tag: v3.14-rc1~150^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86a362f16079d435a08d27f92ac2bee4e12856f1;p=pandora-kernel.git staging: vt6656: sparse fixes ethtool_ioctl Use struct ifreq * Replace useraddr with direct point to struct ifreq->ifr_data sparse warnings main_usb.c:1443:44: warning: cast removes address space of expression main_usb.c:1454:37: warning: incorrect type in argument 2 (different address spaces) main_usb.c:1454:37: expected void const [noderef] *from main_usb.c:1454:37: got void *useraddr main_usb.c:1462:34: warning: incorrect type in argument 1 (different address spaces) main_usb.c:1462:34: expected void [noderef] *to main_usb.c:1462:34: got void *useraddr Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed