[PATCH] staging/ozwpan: coding style ether_addr_copy

2014-03-13 Thread Jérôme Pinot
This fixes the following issues detected by checkpatch.pl: WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #220: FILE: drivers/staging/ozwpan/ozcdev.c:220: + memcpy(g_cdev.active_addr, addr, ETH_ALEN); WARNING: Prefer ether_addr_copy()

Re: [PATCH] staging/ozwpan: coding style

2014-03-12 Thread Greg Kroah-Hartman
On Wed, Mar 12, 2014 at 07:01:32PM +0900, Jérôme Pinot wrote: > Hi, > > This commit fixes warnings reported by checkpatch.pl Which specific warnings? And it looks like you fixed a number of different things in the same patch, please break it up into doing "one thing per patch". thanks, greg k-

[PATCH] staging/ozwpan: coding style

2014-03-12 Thread Jérôme Pinot
Hi, This commit fixes warnings reported by checkpatch.pl Signed-off-by: Jerome Pinot --- drivers/staging/ozwpan/ozcdev.c | 4 ++-- drivers/staging/ozwpan/ozhcd.c | 8 drivers/staging/ozwpan/ozpd.c| 2 +- drivers/staging/ozwpan/ozpd.h| 2 +- drivers/staging/ozwpan/ozproto.c |