diff options
author | viro@ftp.linux.org.uk <viro@ftp.linux.org.uk> | 2005-09-04 22:26:18 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-05 17:57:23 -0400 |
commit | 0bf0519d2b531459009caab718b94fdf94d63d17 (patch) | |
tree | a54a24c67650a0f2999916c35bbffd9469bb75f0 /net | |
parent | 843684a24eb7b261461d8bc1aa723c23732ecb94 (diff) |
[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.c | 2 |
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) | |||
695 | return ret; | 695 | return ret; |
696 | } | 696 | } |
697 | 697 | ||
698 | static int ethtool_get_perm_addr(struct net_device *dev, void *useraddr) | 698 | static int ethtool_get_perm_addr(struct net_device *dev, void __user *useraddr) |
699 | { | 699 | { |
700 | struct ethtool_perm_addr epaddr; | 700 | struct ethtool_perm_addr epaddr; |
701 | u8 *data; | 701 | u8 *data; |