[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <164371828600.16633.15192450644077513815.kvalo@kernel.org>
Date: Tue, 1 Feb 2022 12:24:51 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Jiasheng Jiang <jiasheng@...as.ac.cn>
Cc: kvalo@...eaurora.org, davem@...emloft.net, kuba@...nel.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Jiasheng Jiang <jiasheng@...as.ac.cn>
Subject: Re: ray_cs: Check ioremap return value
Jiasheng Jiang <jiasheng@...as.ac.cn> 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@...as.ac.cn>
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@iscas.ac.cn/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists