Skip to content
Commit 60c981f4 authored by Xie Shaowen's avatar Xie Shaowen Committed by Greg Kroah-Hartman
Browse files

Input: gscps2 - check return value of ioremap() in gscps2_probe()



commit e61b3125 upstream.

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

Fixes: 4bdc0d67 ("remove ioremap_nocache and devm_ioremap_nocache")
Cc: <stable@vger.kernel.org> # v5.6+
Reported-by: default avatarHacash Robot <hacashRobot@santino.com>
Signed-off-by: default avatarXie Shaowen <studentxswpy@163.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9e255ed2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment