commit | 2576e153cd982d540b212e989458edc42ad1b390 | [log] [tgz] |
---|---|---|
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | Thu Dec 30 10:11:37 2021 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jan 10 11:03:42 2022 -0500 |
tree | 338a2378e590bd245b87d951fe43ae51a2ad6835 | |
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>