aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2019-12-15 13:58:58 -0600
committerKalle Valo <kvalo@codeaurora.org>2019-12-18 21:09:33 +0200
commitc705f9fc6a1736dcf6ec01f8206707c108dca824 (patch)
treecb1c544a2cd41396486b97510a0aa1de007349d3 /drivers/net/phy
parentbrcmfmac: Keep OOB wake-interrupt disabled when it shouldn't be enabled (diff)
downloadlinux-dev-c705f9fc6a1736dcf6ec01f8206707c108dca824.tar.xz
linux-dev-c705f9fc6a1736dcf6ec01f8206707c108dca824.zip
orinoco: avoid assertion in case of NULL pointer
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>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions