Input: gscps2 - check return value of ioremap() in gscps2_probe()
commit
c48a321190e98cb72ca0b653fa3d733bea9d7578 upstream.
The function ioremap() in gscps2_probe() can fail, so
its return value should be checked.
Fixes: 32c5fd4883e3c ("remove ioremap_nocache and devm_ioremap_nocache")
Cc: <stable@vger.kernel.org> # v5.6+
Reported-by: Hacash Robot <hacashRobot@santino.com>
Signed-off-by: Xie Shaowen <studentxswpy@163.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>