提交 0bf0519d 编写于 作者: V viro@ftp.linux.org.uk 提交者: Jeff Garzik

[PATCH] (7/7) __user annotations (ethtool)

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
上级 843684a2
...@@ -695,7 +695,7 @@ static int ethtool_get_stats(struct net_device *dev, void __user *useraddr) ...@@ -695,7 +695,7 @@ static int ethtool_get_stats(struct net_device *dev, void __user *useraddr)
return ret; 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; struct ethtool_perm_addr epaddr;
u8 *data; u8 *data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册