Files
linux/drivers
Jiasheng Jiang 9acf7c2f31 ray_cs: Check ioremap return value
[ Upstream commit 7e47607133 ]

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: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211230022926.1846757-1-jiasheng@iscas.ac.cn
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:23:27 +02:00
..
2022-04-08 14:23:24 +02:00
2022-03-08 19:12:31 +01:00
2022-04-08 14:23:01 +02:00
2021-11-18 19:16:08 +01:00
2022-04-08 14:23:27 +02:00
2022-03-08 19:12:41 +01:00
2021-12-22 09:32:39 +01:00