ethtool: fix sparse warning
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 11 Feb 2013 06:22:28 +0000 (06:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Feb 2013 19:16:26 +0000 (14:16 -0500)
commit954b1244530064d48dde133f906026e56ba0ae56
tree0ddd53876256330982b1d36b1752a737dd1963b5
parentb2748267d6487857f1400dc42748c5409e0ee130
ethtool: fix sparse warning

Fixes sparse complaints about dropping __user in casts.
 warning: cast removes address space of expression

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c