Re: [PATCH] sfc: Replace memset with eth_zero_addr

2017-01-16 Thread David Miller
From: Edward Cree Date: Mon, 16 Jan 2017 09:35:38 + > On 16/01/17 03:56, Shyam Saini wrote: >> Use eth_zero_addr to assign zero address to the given address array >> instead of memset when the second argument in memset is address >> of zero which makes the code clearer and also add header >>

Re: [PATCH] sfc: Replace memset with eth_zero_addr

2017-01-16 Thread Edward Cree
On 16/01/17 03:56, Shyam Saini wrote: > Use eth_zero_addr to assign zero address to the given address array > instead of memset when the second argument in memset is address > of zero which makes the code clearer and also add header > file linux/etherdevice.h > > Signed-off-by: Shyam Saini > --- A

[PATCH] sfc: Replace memset with eth_zero_addr

2017-01-15 Thread Shyam Saini
Use eth_zero_addr to assign zero address to the given address array instead of memset when the second argument in memset is address of zero which makes the code clearer and also add header file linux/etherdevice.h Signed-off-by: Shyam Saini --- drivers/net/ethernet/sfc/ef10_sriov.c | 3 ++- 1 fi