diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2018-10-24 03:45:33 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-11-05 22:47:38 -0500 |
commit | 96edebd6bb995f2acb7694bed6e01bf6f5a7b634 (patch) | |
tree | 4270ede6adf47a01898cf2f97ddca0407f9320cb /drivers | |
parent | 0d52e642c0ccd7a877a58b6ec23552eb35e7170c (diff) |
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')
-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) | |||
1198 | 1198 | ||
1199 | out: | 1199 | out: |
1200 | if (!hostdata->selecting) | 1200 | if (!hostdata->selecting) |
1201 | return NULL; | 1201 | return false; |
1202 | hostdata->selecting = NULL; | 1202 | hostdata->selecting = NULL; |
1203 | return ret; | 1203 | return ret; |
1204 | } | 1204 | } |