summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorviro@ftp.linux.org.uk <viro@ftp.linux.org.uk>2005-09-05 03:26:18 +0100
committerJeff Garzik <jgarzik@pobox.com>2005-09-05 17:57:23 -0400
commit0bf0519d2b531459009caab718b94fdf94d63d17 (patch)
treea54a24c67650a0f2999916c35bbffd9469bb75f0 /net
parent843684a24eb7b261461d8bc1aa723c23732ecb94 (diff)
downloadop-kernel-dev-0bf0519d2b531459009caab718b94fdf94d63d17.zip
op-kernel-dev-0bf0519d2b531459009caab718b94fdf94d63d17.tar.gz
[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 289c1b5..404b761 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;
OpenPOWER on IntegriCloud