[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <47E2D08E.5050708@tiscali.nl>
Date: Thu, 20 Mar 2008 22:01:02 +0100
From: Roel Kluin <12o3l@...cali.nl>
To: "David S. Miller" <davem@...emloft.net>
CC: netdev@...r.kernel.org
Subject: drivers/net/niu.c: memcpy(dev->dev_addr, dev->perm_addr, dev->addr_len)?
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?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists