From: Chenwandun <redacted>
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 <redacted>
---
drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 2 ++
1 file changed, 2 insertions(+)
From: Igor Russkikh <hidden> Date: 2019-10-18 13:01:08
Thanks, Chen.
On 18.10.2019 13:20, Chen Wandun wrote:
From: Chenwandun <redacted>
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 <redacted>
Reviewed-by: Igor Russkikh <redacted>
Regards,
Igor
From: Andrew Lunn <andrew@lunn.ch> Date: 2019-10-18 19:04:46
On Fri, Oct 18, 2019 at 06:20:37PM +0800, Chen Wandun wrote:
From: Chenwandun <redacted>
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 <redacted>
From: Chenwandun <redacted>
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 <redacted>