summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2018-10-24 09:45:33 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-11-06 04:47:38 +0100
commit96edebd6bb995f2acb7694bed6e01bf6f5a7b634 (patch)
tree4270ede6adf47a01898cf2f97ddca0407f9320cb /drivers/scsi
parentscsi: qla2xxx: Fix a typo in MODULE_PARM_DESC (diff)
downloadlinux-96edebd6bb995f2acb7694bed6e01bf6f5a7b634.tar.xz
linux-96edebd6bb995f2acb7694bed6e01bf6f5a7b634.zip
scsi: NCR5380: Return false instead of NULL
I overlooked this statement when I recently converted the function result type from struct scsi_cmnd * to bool. No change to object code. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/NCR5380.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c
index 8429c855701f..01c23d27f290 100644
--- a/drivers/scsi/NCR5380.c
+++ b/drivers/scsi/NCR5380.c
@@ -1198,7 +1198,7 @@ static bool NCR5380_select(struct Scsi_Host *instance, struct scsi_cmnd *cmd)
out:
if (!hostdata->selecting)
- return NULL;
+ return false;
hostdata->selecting = NULL;
return ret;
}