-
由 William Dean 提交于
stable inclusion from stable-v5.10.137 commit fc3918d70bbe65c8b92c9dc9d742c4559ccd2dbe category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fc3918d70bbe65c8b92c9dc9d742c4559ccd2dbe -------------------------------- commit cf59f34d upstream. The function ioremap() in lba_driver_probe() can fail, so its return value should be checked. Fixes: 4bdc0d67 ("remove ioremap_nocache and devm_ioremap_nocache") Reported-by: NHacash Robot <hacashRobot@santino.com> Signed-off-by: NWilliam Dean <williamsukatube@gmail.com> Signed-off-by: NHelge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org> # v5.6+ Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com>
d7ae2e7b