diff options
| author | Xie Shaowen <[email protected]> | 2022-08-02 07:20:33 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2022-08-02 08:31:59 +0000 |
| commit | e61b3125a4f036b3c6b87ffd656fc1ab00440ae9 (patch) | |
| tree | 62e32593ebf2dc60ccd76d64b70b98784b68cc04 /drivers/fpga/machxo2-spi.c | |
| parent | parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode (diff) | |
| download | kernel-e61b3125a4f036b3c6b87ffd656fc1ab00440ae9.tar.gz kernel-e61b3125a4f036b3c6b87ffd656fc1ab00440ae9.zip | |
Input: gscps2 - check return value of ioremap() in gscps2_probe()
The function ioremap() in gscps2_probe() can fail, so
its return value should be checked.
Fixes: 4bdc0d676a643 ("remove ioremap_nocache and devm_ioremap_nocache")
Cc: <[email protected]> # v5.6+
Reported-by: Hacash Robot <[email protected]>
Signed-off-by: Xie Shaowen <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions
