summaryrefslogtreecommitdiff
path: root/include/linux/mpage.h
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2019-12-15 13:58:58 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-24 08:34:43 +0100
commit4f96316a11e20153a3d30a96f1e8d338709abacd (patch)
tree70b25b5af3401981ed7610671b900cc99c413b14 /include/linux/mpage.h
parent6d915684105b9215ee4fc22b00b8d621b24cc99d (diff)
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>
Diffstat (limited to 'include/linux/mpage.h')
0 files changed, 0 insertions, 0 deletions