提交 a186d2ae 编写于 作者: J Jiri Pirko 提交者: David S. Miller

net: remove needless (now buggy) & from dev->dev_addr (part2)

Missed part of "&" removal.
Signed-off-by: NJiri Pirko <jpirko@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3699a1c7
...@@ -935,7 +935,7 @@ static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr, ...@@ -935,7 +935,7 @@ static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr,
if (llc->dev) { if (llc->dev) {
sllc.sllc_arphrd = llc->dev->type; sllc.sllc_arphrd = llc->dev->type;
memcpy(&sllc.sllc_mac, &llc->dev->dev_addr, memcpy(&sllc.sllc_mac, llc->dev->dev_addr,
IFHWADDRLEN); IFHWADDRLEN);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册