From: Jiri Pirko Date: Tue, 12 May 2009 22:40:12 +0000 (+0000) Subject: net: remove needless (now buggy) & from dev->dev_addr (part2) X-Git-Tag: v3.0~8655^2~508 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a186d2aead8beb164ddb76245d189c66f7021b59;p=platform%2Fkernel%2Flinux-amlogic.git net: remove needless (now buggy) & from dev->dev_addr (part2) Missed part of "&" removal. Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index febae70..9208cf5 100644 --- a/net/llc/af_llc.c +++ b/net/llc/af_llc.c @@ -935,7 +935,7 @@ static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr, if (llc->dev) { sllc.sllc_arphrd = llc->dev->type; - memcpy(&sllc.sllc_mac, &llc->dev->dev_addr, + memcpy(&sllc.sllc_mac, llc->dev->dev_addr, IFHWADDRLEN); } }