[PATCH v2] Staging: slicoss: slicoss: replaced memcpy with ether_addr_copy

Dan Carpenter dan.carpenter at oracle.com
Fri Oct 3 20:23:13 UTC 2014


On Fri, Oct 03, 2014 at 10:19:44PM +0200, Abel Moyo wrote:
> Replaced memcpy with ether_addr_copy in slic_mcast_add_list.
> Addresses are _aligned(2) as the struct mcast_address has only
> single field of type unsigned char.

You have to consider the source address as well, but fair enough, that
one is also aligned correctly.

regards,
dan carpenter



More information about the devel mailing list