summaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2021-12-30 10:29:26 +0800
committerKalle Valo <kvalo@kernel.org>2022-02-01 14:24:35 +0200
commit7e4760713391ee46dc913194b33ae234389a174e (patch)
treeb79ce793eb4f99817167f3979214dfaac69dcc1e /include/linux/timerqueue.h
parentfe683faecc7a356f71a56bc16aa2080475828818 (diff)
downloadcachepc-linux-7e4760713391ee46dc913194b33ae234389a174e.tar.gz
cachepc-linux-7e4760713391ee46dc913194b33ae234389a174e.zip
ray_cs: Check ioremap return value
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@iscas.ac.cn> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20211230022926.1846757-1-jiasheng@iscas.ac.cn
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions