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.16.28-rc1~4525^2~21 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0bf0519d2b531459009caab718b94fdf94d63d17;p=karo-tx-linux.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 289c1b5a8e4a..404b761e82ce 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;