linux/drivers/scsi/mpi3mr
Sreekanth Reddy 62e528b80d scsi: mpi3mr: Fix warnings reported by smatch
Fix the following warning reported by static analysis tool smatch:

smatch warnings:
drivers/scsi/mpi3mr/mpi3mr_os.c:873 mpi3mr_update_tgtdev() error: we
previously assumed 'mrioc->shost' could be null (see line 870

Link: https://lore.kernel.org/r/20210629141153.3158-1-sreekanth.reddy@broadcom.com
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-06-29 16:39:15 -04:00
..
mpi
Kconfig
Makefile
mpi3mr_debug.h
mpi3mr_fw.c scsi: mpi3mr: Make some symbols static 2021-06-18 22:05:07 -04:00
mpi3mr_os.c scsi: mpi3mr: Fix warnings reported by smatch 2021-06-29 16:39:15 -04:00
mpi3mr.h scsi: mpi3mr: Make some symbols static 2021-06-18 22:05:07 -04:00