diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2021-12-30 10:11:37 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-01-10 11:03:42 -0500 |
commit | 2576e153cd982d540b212e989458edc42ad1b390 (patch) | |
tree | 338a2378e590bd245b87d951fe43ae51a2ad6835 /tools | |
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 'tools')
0 files changed, 0 insertions, 0 deletions