diff options
| author | Aditya Pakki <[email protected]> | 2019-12-15 19:58:58 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2019-12-18 19:09:33 +0000 |
| commit | c705f9fc6a1736dcf6ec01f8206707c108dca824 (patch) | |
| tree | cb1c544a2cd41396486b97510a0aa1de007349d3 /net/unix/af_unix.c | |
| parent | brcmfmac: Keep OOB wake-interrupt disabled when it shouldn't be enabled (diff) | |
| download | kernel-c705f9fc6a1736dcf6ec01f8206707c108dca824.tar.gz kernel-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 <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
