Skip to content

Commit

Permalink
scsi: NCR5380: Return false instead of NULL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Finn Thain authored and Martin K. Petersen committed Nov 6, 2018
1 parent 0d52e64 commit 96edebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/NCR5380.c
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 96edebd

Please sign in to comment.