]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Mar 2022 08:01:34 +0000 (09:01 +0100)
commit7cf4345b973247d354ddd11540cd7571112766f8
treeb9d57829fd68af52cd11e6528383a0bac438a8ec
parent53207668e443a6876c091403c7b9fc93ac48faa6
atm: firestream: check the return value of ioremap() in fs_init()

[ Upstream commit d4e26aaea7f82ba884dcb4acfe689406bc092dc3 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/atm/firestream.c