projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.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
|
blame
|
history
diff --git
a/net/core/ethtool.c
b/net/core/ethtool.c
index 289c1b5a8e4a0bf4c497f999d35d5c4f9ea797e4..404b761e82ce8d712412717b58fb139478ed4b37 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;