diff options
| author | Jiasheng Jiang <[email protected]> | 2021-12-30 02:11:37 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-01-10 16:03:42 +0000 |
| commit | 2576e153cd982d540b212e989458edc42ad1b390 (patch) | |
| tree | 338a2378e590bd245b87d951fe43ae51a2ad6835 /lib/test_overflow.c | |
| parent | scsi: ufs: ufs-mediatek: Fix error checking in ufs_mtk_init_va09_pwr_ctrl() (diff) | |
| download | kernel-2576e153cd982d540b212e989458edc42ad1b390.tar.gz kernel-2576e153cd982d540b212e989458edc42ad1b390.zip | |
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/[email protected]
Fixes: 0e6f9d270840 ("pcmcia: use pcmcia_loop_config in scsi pcmcia drivers")
Signed-off-by: Jiasheng Jiang <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions
