projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
843684a
)
[PATCH] (7/7) __user annotations (ethtool)
author
viro@ftp.linux.org.uk
<viro@ftp.linux.org.uk>
Mon, 5 Sep 2005 02:26:18 +0000
(
03:26
+0100)
committer
Jeff 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
patch
|
blob
|
history
diff --git
a/net/core/ethtool.c
b/net/core/ethtool.c
index
289c1b5
..
404b761
100644
(file)
--- 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;