Re: [PATCH] orinoco: avoid assertion in case of NULL pointer

From: Kalle Valo
Date: Wed Dec 18 2019 - 14:09:54 EST


Aditya Pakki <pakki001@xxxxxxx> wrote:

> 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@xxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

c705f9fc6a17 orinoco: avoid assertion in case of NULL pointer

--
https://patchwork.kernel.org/patch/11293143/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches