[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 289c1b5..404b761 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;