Re: ray_cs: Check ioremap return value

From: Kalle Valo
Date: Tue Feb 01 2022 - 07:24:59 EST


Jiasheng Jiang <jiasheng@xxxxxxxxxxx> wrote:

> As the possible failure of the ioremap(), the 'local->sram' and other
> two could be NULL.
> Therefore it should be better to check it in order to avoid the later
> dev_dbg.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

7e4760713391 ray_cs: Check ioremap return value

--
https://patchwork.kernel.org/project/linux-wireless/patch/20211230022926.1846757-1-jiasheng@xxxxxxxxxxx/

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