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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux