android_kernel_xiaomi_sm7250/drivers/net/wireless/intersil/orinoco
Aditya Pakki 4f96316a11 orinoco: avoid assertion in case of NULL pointer
[ Upstream commit c705f9fc6a1736dcf6ec01f8206707c108dca824 ]

In ezusb_init, if upriv is NULL, the code crashes. However, the caller
in ezusb_probe can handle the error and print the failure message.
The patch replaces the BUG_ON call to error return.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:34:43 +01:00
..
airport.c
cfg.c
cfg.h
fw.c
fw.h
hermes_dld.c
hermes_dld.h
hermes_rid.h
hermes.c
hermes.h
hw.c
hw.h
Kconfig
main.c
main.h
Makefile
mic.c
mic.h
orinoco_cs.c
orinoco_nortel.c
orinoco_pci.c
orinoco_pci.h
orinoco_plx.c
orinoco_tmd.c
orinoco_usb.c
orinoco.h
scan.c
scan.h
spectrum_cs.c
wext.c
wext.h