linux_dsm_epyc7002/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 ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit 2019-04-25 19:39:34 +03:00
driver_chipcommon_pmu.c ssb: Replace HTTP links with HTTPS ones 2020-07-15 19:47:10 +03:00
driver_chipcommon_sflash.c
driver_chipcommon.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_extif.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
driver_gige.c
driver_gpio.c ssb/gpio: Remove unnecessary WARN_ON from driver_gpio 2019-06-25 08:05:34 +03:00
driver_mipscore.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_pcicore.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
embedded.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
host_soc.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
main.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
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 drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
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: Replace HTTP links with HTTPS ones 2020-07-15 19:47:10 +03:00
ssb_private.h ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00