]> Pileus Git - ~andy/linux/commit
etherdevice: Use ether_addr_copy to copy an Ethernet address
authorJoe Perches <joe@perches.com>
Tue, 14 Jan 2014 23:18:47 +0000 (15:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 23:39:33 +0000 (15:39 -0800)
commit286ab723d4b83d37deb4017008ef1444a95cfb0d
tree8d0887e7d7e40da36b0ae919558fc07cbf810430
parenta53d34c3465b8a840f7400932ae1b0a9f9ed6bef
etherdevice: Use ether_addr_copy to copy an Ethernet address

Some systems can use the normally known u16 alignment of
Ethernet addresses to save some code/text bytes and cycles.

This does not change currently emitted code on x86 by gcc 4.8.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/etherdevice.h