[PATCH 525/525] Staging: Wilc1000: Fixed coding style ether_addr_copy

2016-04-07 Thread Shyam Saini
Fixed following warning detected by checkpatch.pl: warning: Prefer ether_addr_copy() over memcpy() if the Ethernet addressesare __aligned(2) Signed-off-by: Shyam Saini --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 25 +++ 1 file changed, 12 insertions(+), 13 deleti

Re: [PATCH 525/525] Staging: Wilc1000: Fixed coding style ether_addr_copy

2016-04-07 Thread Joe Perches
On Thu, 2016-04-07 at 15:07 +0530, Shyam Saini wrote: > Fixed following warning detected by checkpatch.pl: > warning: Prefer ether_addr_copy() over memcpy() if the Ethernet addressesare > __aligned(2) Please don't just do checkpatch cleanups but strive to make the code more intelligible for human

Re: [PATCH 525/525] Staging: Wilc1000: Fixed coding style ether_addr_copy

2016-04-07 Thread Greg KH
On Thu, Apr 07, 2016 at 03:07:15PM +0530, Shyam Saini wrote: > Fixed following warning detected by checkpatch.pl: > warning: Prefer ether_addr_copy() over memcpy() if the Ethernet addressesare > __aligned(2) > > Signed-off-by: Shyam Saini > --- > drivers/staging/wilc1000/wilc_wfi_cfgoperations.