From: Jiri Pirko <jpirko@redhat.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, sfr@canb.auug.org.au, sachinp@in.ibm.com,
Wei Yongjun <yjwei@cn.fujitsu.com>
Subject: [PATCH net-next] net: remove needless (now buggy) & from dev->dev_addr (part2)
Date: Wed, 13 May 2009 10:40:12 +0200 [thread overview]
Message-ID: <20090513084011.GC3517@psychotron.englab.brq.redhat.com> (raw)
In-Reply-To: <4A0A2059.8040607@cn.fujitsu.com>
Missed part of "&" removal.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
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);
}
}
next prev parent reply other threads:[~2009-05-13 8:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-12 9:37 [PATCH net-next] net: remove needless (now buggy) & from dev->dev_addr Jiri Pirko
2009-05-13 1:20 ` Wei Yongjun
2009-05-13 8:40 ` Jiri Pirko [this message]
2009-05-14 0:36 ` [PATCH net-next] net: remove needless (now buggy) & from dev->dev_addr (part2) Stephen Rothwell
2009-05-17 21:00 ` David Miller
2009-05-18 0:32 ` Stephen Rothwell
2009-05-18 3:25 ` David Miller
2009-05-13 6:37 ` [PATCH net-next] net: remove needless (now buggy) & from dev->dev_addr Stephen Rothwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090513084011.GC3517@psychotron.englab.brq.redhat.com \
--to=jpirko@redhat.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=sachinp@in.ibm.com \
--cc=sfr@canb.auug.org.au \
--cc=yjwei@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.