Subject: Re: [PATCH] rsi: fix potential null dereference in rsi_probe()

From: Kalle Valo <[email-masked]>
Date: Fri, 4 Oct 2019 13:47:36 +0000 (UTC)

Denis Efremov <[email-masked]> wrote:

> The id pointer can be NULL in rsi_probe(). It is checked everywhere except
> for the else branch in the idProduct condition. The patch adds NULL check
> before the id dereference in the rsi_dbg() call.
> 
> Fixes: 54fdb318c111 ("rsi: add new device model for 9116")
> Cc: Amitkumar Karwar <[email-masked]>
> Cc: Siva Rebbagondla <[email-masked]>
> Cc: Kalle Valo <[email-masked]>
> Signed-off-by: Denis Efremov <[email-masked]>

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

f170d44bc4ec rsi: fix potential null dereference in rsi_probe()

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

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