Subject: drivers/net/niu.c: memcpy(dev->dev_addr, dev->perm_addr, dev->addr_len)?

From: Roel Kluin <[email-masked]>
Date: Thu, 20 Mar 2008 22:01:27 +0100

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?