kernel_optimize_test/drivers/ssb
Zhen Lei 80ad538a87 ssb: Fix error return code in ssb_bus_scan()
[ Upstream commit 77a0989baa427dbd242c5784d05a53ca3d197d43 ]

Fix to return -EINVAL from the error handling case instead of 0, as done
elsewhere in this function.

Fixes: 61e115a56d ("[SSB]: add Sonics Silicon Backplane bus support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: Michael Büsch <m@bues.ch>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210515072949.7151-1-thunder.leizhen@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:21 +02:00
..
b43_pci_bridge.c
bridge_pcmcia_80211.c
driver_chipcommon_pmu.c
driver_chipcommon_sflash.c
driver_chipcommon.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_extif.c
driver_gige.c
driver_gpio.c
driver_mipscore.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_pcicore.c
embedded.c
host_soc.c
Kconfig
main.c
Makefile
pci.c ssb: Remove meaningless jump label to simplify the code 2020-09-21 16:01:35 +03:00
pcihost_wrapper.c
pcmcia.c
scan.c ssb: Fix error return code in ssb_bus_scan() 2021-07-14 16:56:21 +02:00
sdio.c ssb: sdio: Don't overwrite const buffer if block_write fails 2021-07-14 16:55:45 +02:00
sprom.c
ssb_private.h