Re: [PATCH] qed: Replace memset with eth_zero_addr

2017-01-17 Thread David Miller
From: Shyam Saini Date: Tue, 17 Jan 2017 07:35:04 +0530 > 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. Also, it makes the code clearer > > Signed-off-by: Shyam Saini Applied.

Re: [PATCH] qed: Replace memset with eth_zero_addr

2017-01-16 Thread Shyam Saini
On Mon, Jan 16, 2017 at 02:58:19PM -0500, David Miller wrote: > From: Shyam Saini > Date: Tue, 17 Jan 2017 00:21:38 +0530 > > > 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. Also, it makes the c

[PATCH] qed: Replace memset with eth_zero_addr

2017-01-16 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. Also, it makes the code clearer Signed-off-by: Shyam Saini --- drivers/net/ethernet/qlogic/qed/qed_l2.c| 2 +- drivers/net/ethernet/qlogic/qed/qed_srio

Re: [PATCH] qed: Replace memset with eth_zero_addr

2017-01-16 Thread David Miller
From: Shyam Saini Date: Tue, 17 Jan 2017 00:21:38 +0530 > 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. Also, it makes the code clearer > > Signed-off-by: Shyam Saini This patch does not apply cl

[PATCH] qed: Replace memset with eth_zero_addr

2017-01-16 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. Also, it makes the code clearer Signed-off-by: Shyam Saini --- drivers/net/ethernet/qlogic/qed/qed_l2.c| 2 +- drivers/net/ethernet/qlogic/qed/qed_srio

Re: [PATCH] qed: Replace memset with eth_zero_addr

2017-01-16 Thread David Miller
From: Shyam Saini Date: Mon, 16 Jan 2017 23:33:30 +0530 > 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. Also, it makes the code clearer > > Signed-off-by: Shyam Saini This doesn't apply cleanly t

[PATCH] qed: Replace memset with eth_zero_addr

2017-01-16 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. Also, it makes the code clearer Signed-off-by: Shyam Saini --- drivers/net/ethernet/qlogic/qed/qed_l2.c| 2 +- drivers/net/ethernet/qlogic/qed/qed_srio