From: Roel Kluin <12o3l@tiscali.nl>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: drivers/net/niu.c: memcpy(dev->dev_addr, dev->perm_addr, dev->addr_len)?
Date: Thu, 20 Mar 2008 22:01:02 +0100 [thread overview]
Message-ID: <47E2D08E.5050708@tiscali.nl> (raw)
in drivers/net/niu.c, line 6406, 6286 and 7173:
memcpy(dev->dev_addr, dev->perm_addr, dev->addr_len);
I noticed that "
memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len)
occurs much more often (15x). could it be that the first two arguments
are swapped in niu.c?
next reply other threads:[~2008-03-20 21:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-20 21:01 Roel Kluin [this message]
2008-03-20 21:25 ` drivers/net/niu.c: memcpy(dev->dev_addr, dev->perm_addr, dev->addr_len)? David Miller
2008-03-20 23:01 ` Roel Kluin
2008-03-21 13:07 ` Kalle Valo
-- strict thread matches above, loose matches on Subject: below --
2008-03-20 21:01 Roel Kluin
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=47E2D08E.5050708@tiscali.nl \
--to=12o3l@tiscali.nl \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).