]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Check the return value of ioremap() in lba_driver_probe()
authorWilliam Dean <williamsukatube@gmail.com>
Fri, 22 Jul 2022 02:57:09 +0000 (10:57 +0800)
committerHelge Deller <deller@gmx.de>
Mon, 1 Aug 2022 16:43:23 +0000 (18:43 +0200)
commitcc4c6c2bfb9d542887ebc68fc3b28178e4432f1f
tree03101c59a6ec89fb21d8c065ec0380308522ca97
parent74b2c1acbd3e55a19debaed68976e0569a7713a2
parisc: Check the return value of ioremap() in lba_driver_probe()

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

Fixes: 32c5fd4883e3c ("remove ioremap_nocache and devm_ioremap_nocache")
Reported-by: Hacash Robot <hacashRobot@santino.com>
Signed-off-by: William Dean <williamsukatube@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v5.6+
drivers/parisc/lba_pci.c