]> err.no Git - linux-2.6/commitdiff
[PATCH] (7/7) __user annotations (ethtool)
authorviro@ftp.linux.org.uk <viro@ftp.linux.org.uk>
Mon, 5 Sep 2005 02:26:18 +0000 (03:26 +0100)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 5 Sep 2005 21:57:23 +0000 (17:57 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
net/core/ethtool.c

index 289c1b5a8e4a0bf4c497f999d35d5c4f9ea797e4..404b761e82ce8d712412717b58fb139478ed4b37 100644 (file)
@@ -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;