diff options
author | Jiasheng Jiang | 2021-12-30 10:11:37 +0800 |
---|---|---|
committer | Martin K. Petersen | 2022-01-10 11:03:42 -0500 |
commit | 2576e153cd982d540b212e989458edc42ad1b390 (patch) | |
tree | 338a2378e590bd245b87d951fe43ae51a2ad6835 /usr | |
parent | 3ba880a12df5aa4488c18281701b5b1bc3d4531a (diff) |
scsi: nsp_cs: Check of ioremap return value
Since it is possible for ioremap() to fail, 'data->MmioAddress' could be
NULL. Skip entry if ioremap() fails.
Link: https://lore.kernel.org/r/20211230021137.1823352-1-jiasheng@iscas.ac.cn
Fixes: 0e6f9d270840 ("pcmcia: use pcmcia_loop_config in scsi pcmcia drivers")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions