diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2018-10-24 18:45:33 +1100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-11-05 22:47:38 -0500 |
commit | 96edebd6bb995f2acb7694bed6e01bf6f5a7b634 (patch) | |
tree | 4270ede6adf47a01898cf2f97ddca0407f9320cb /drivers/scsi | |
parent | 0d52e642c0ccd7a877a58b6ec23552eb35e7170c (diff) | |
download | linux-96edebd6bb995f2acb7694bed6e01bf6f5a7b634.tar.bz2 |
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.c | 2 |
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; } |