Re: [PATCH v2] net: aquantia: add an error handling in aq_nic_set_multicast_list

2019-10-19 Thread David Miller
From: Chen Wandun Date: Fri, 18 Oct 2019 18:20:37 +0800 > From: Chenwandun > > add an error handling in aq_nic_set_multicast_list, it may not > work when hw_multicast_list_set error; and at the same time > it will remove gcc Wunused-but-set-variable warning. > > Signed-off-by: Chenwandun

Re: [PATCH v2] net: aquantia: add an error handling in aq_nic_set_multicast_list

2019-10-18 Thread Andrew Lunn
On Fri, Oct 18, 2019 at 06:20:37PM +0800, Chen Wandun wrote: > From: Chenwandun > > add an error handling in aq_nic_set_multicast_list, it may not > work when hw_multicast_list_set error; and at the same time > it will remove gcc Wunused-but-set-variable warning. > > Signed-off-by: Chenwandun

Re: [PATCH v2] net: aquantia: add an error handling in aq_nic_set_multicast_list

2019-10-18 Thread Igor Russkikh
Thanks, Chen. On 18.10.2019 13:20, Chen Wandun wrote: > From: Chenwandun > > add an error handling in aq_nic_set_multicast_list, it may not > work when hw_multicast_list_set error; and at the same time > it will remove gcc Wunused-but-set-variable warning. > > Signed-off-by: Chenwandun

[PATCH v2] net: aquantia: add an error handling in aq_nic_set_multicast_list

2019-10-18 Thread Chen Wandun
From: Chenwandun add an error handling in aq_nic_set_multicast_list, it may not work when hw_multicast_list_set error; and at the same time it will remove gcc Wunused-but-set-variable warning. Signed-off-by: Chenwandun --- drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 2 ++ 1 file