summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorviro@ftp.linux.org.uk <viro@ftp.linux.org.uk>2005-09-05 04:26:18 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-09-05 23:57:23 +0200
commit0bf0519d2b531459009caab718b94fdf94d63d17 (patch)
treea54a24c67650a0f2999916c35bbffd9469bb75f0 /net
parent[PATCH] (6/7) missing include (ipw2200) (diff)
downloadlinux-0bf0519d2b531459009caab718b94fdf94d63d17.tar.xz
linux-0bf0519d2b531459009caab718b94fdf94d63d17.zip
[PATCH] (7/7) __user annotations (ethtool)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'net')
-rw-r--r--net/core/ethtool.c2
1 files changed, 1 insertions, 1 deletions
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;