linux_dsm_epyc7002/drivers/net/ethernet/broadcom
YueHaibing 0db55093b5 net: bcmgenet: return correct value 'ret' from bcmgenet_power_down
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/broadcom/genet/bcmgenet.c: In function 'bcmgenet_power_down':
drivers/net/ethernet/broadcom/genet/bcmgenet.c:1136:6: warning:
 variable 'ret' set but not used [-Wunused-but-set-variable]

bcmgenet_power_down should return 'ret' instead of 0.

Fixes: ca8cf34190 ("net: bcmgenet: propagate errors from bcmgenet_power_down")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-11-08 16:21:41 -08:00
..
bnx2x Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-10-26 19:25:07 -07:00
bnxt pci-v4.20-changes 2018-10-25 06:50:48 -07:00
genet net: bcmgenet: return correct value 'ret' from bcmgenet_power_down 2018-11-08 16:21:41 -08:00
b44.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
b44.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bcm63xx_enet.c net: broadcom: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
bcm63xx_enet.h bcm63xx_enet: use platform device id directly for miibus name 2017-12-19 11:07:16 -05:00
bcmsysport.c net: systemport: Unmap queues upon DSA unregister event 2018-11-06 15:39:48 -08:00
bcmsysport.h net: systemport: Simplify queue mapping logic 2018-11-06 15:39:48 -08:00
bgmac-bcma-mdio.c net: bgmac: use PHY subsystem for initializing PHY 2017-01-31 13:44:49 -05:00
bgmac-bcma.c net: bgmac: enable master mode for BCM54210E and B50212E PHYs 2017-10-12 22:59:38 -07:00
bgmac-platform.c net: ethernet: bgmac: mark expected switch fall-through 2017-11-11 18:49:26 +09:00
bgmac.c net: bgmac: remove set but not used variable 'err' 2018-09-01 22:30:41 -07:00
bgmac.h net: bgmac: Correctly annotate register space 2018-04-01 22:20:48 -04:00
bnx2_fw.h
bnx2.c PCI/AER: Remove pci_cleanup_aer_uncorrect_error_status() calls 2018-10-02 16:04:40 -05:00
bnx2.h
cnic_defs.h
cnic_if.h
cnic.c cnic: use kvzalloc to allocate memory for csk_tbl 2018-07-11 22:55:52 -07:00
cnic.h
Kconfig bnxt_en: Add hwmon sysfs support to read temperature 2018-08-05 17:08:26 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sb1250-mac.c net: broadcom: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
tg3.c tg3: Fix fall-through annotations 2018-09-13 15:36:41 -07:00
tg3.h tg3: Update copyright 2018-07-16 14:42:10 -07:00