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
driver_extif.c
driver_gige.c
driver_gpio.c
driver_mipscore.c
driver_pcicore.c
embedded.c
host_soc.c
Kconfig
main.c
Makefile
pci.c
pcihost_wrapper.c
pcmcia.c
scan.c
sdio.c
sprom.c
ssb_private.h