]> git.baikalelectronics.ru Git - kernel.git/commit
atm: firestream: check the return value of ioremap() in fs_init()
authorJia-Ju Bai <baijiaju1990@gmail.com>
Fri, 25 Feb 2022 12:52:30 +0000 (04:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2022 11:36:01 +0000 (11:36 +0000)
commitd4e26aaea7f82ba884dcb4acfe689406bc092dc3
tree382537afbc5d07c903391228a17dfa2734c9db59
parent90d4025285748448809701a44cf466a3f5443eaa
atm: firestream: check the return value of ioremap() in fs_init()

The function ioremap() in fs_init() can fail, so its return value should
be checked.

Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/firestream.c