Re: [PATCH 1/2] Revert "rsi: fix potential null dereference in rsi_probe()"

From: Kalle Valo
Date: Tue Oct 08 2019 - 11:56:48 EST


Kalle Valo <kvalo@xxxxxxxxxxxxxx> writes:

> Johan Hovold <johan@xxxxxxxxxx> writes:
>
>> This reverts commit f170d44bc4ec2feae5f6206980e7ae7fbf0432a0.
>>
>> USB core will never call a USB-driver probe function with a NULL
>> device-id pointer.
>>
>> Reverting before removing the existing checks in order to document this
>> and prevent the offending commit from being "autoselected" for stable.
>>
>> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
>
> I'll queue these two to v5.4.

Actually I'll take that back. Commit f170d44bc4ec is in -next so I have
to also queue these to -next.

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