[PATCH] (7/7) __user annotations (ethtool)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
committed by
Jeff Garzik
parent
843684a24e
commit
0bf0519d2b
@@ -695,7 +695,7 @@ static int ethtool_get_stats(struct net_device *dev, void __user *useraddr)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ethtool_get_perm_addr(struct net_device *dev, void *useraddr)
|
static int ethtool_get_perm_addr(struct net_device *dev, void __user *useraddr)
|
||||||
{
|
{
|
||||||
struct ethtool_perm_addr epaddr;
|
struct ethtool_perm_addr epaddr;
|
||||||
u8 *data;
|
u8 *data;
|
||||||
|
Reference in New Issue
Block a user