]> git.baikalelectronics.ru Git - kernel.git/commit
net: aquantia: add an error handling in aq_nic_set_multicast_list
authorChenwandun <chenwandun@huawei.com>
Fri, 18 Oct 2019 10:20:37 +0000 (18:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Oct 2019 19:16:38 +0000 (12:16 -0700)
commitb2e1e3d03573faa7c992044d0a220f3d6ca43740
treec8b93caf7d572182c09a24b46745ba5a412e4074
parent021c461606f2fd64ad904632bf910352c6eceac7
net: aquantia: add an error handling in aq_nic_set_multicast_list

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 <chenwandun@huawei.com>
Reviewed-by: Igor Russkikh <igor.russkikh@aquantia.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_nic.c