summaryrefslogtreecommitdiff
path: root/drivers/scsi/ipr.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-05-06 16:17:33 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-05-16 21:30:17 -0400
commita25eafd13e5f79d9bbada5a4a4a4224cc5f6d14c (patch)
tree879260ee64ad3a4f47f92ccd797e77e913f3ff22 /drivers/scsi/ipr.c
parent20f8932f979e7377a625f6e711bd4e84ec025d0b (diff)
scsi: mpi3mr: Fix a NULL vs IS_ERR() bug in mpi3mr_bsg_init()
The bsg_setup_queue() function does not return NULL. It returns error pointers. Fix the check accordingly. Link: https://lore.kernel.org/r/YnUf7RQl+A3tigWh@kili Fixes: 4268fa751365 ("scsi: mpi3mr: Add bsg device support") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
0 files changed, 0 insertions, 0 deletions