From: viro@ftp.linux.org.uk Date: Mon, 5 Sep 2005 02:26:18 +0000 (+0100) Subject: [PATCH] (7/7) __user annotations (ethtool) X-Git-Tag: v2.6.14-rc1~748^2~21 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0bf0519d2b531459009caab718b94fdf94d63d17;p=linux-2.6-omap-h63xx.git [PATCH] (7/7) __user annotations (ethtool) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik --- diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 289c1b5a8e4..404b761e82c 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -695,7 +695,7 @@ static int ethtool_get_stats(struct net_device *dev, void __user *useraddr) 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; u8 *data;