projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d52e64
)
scsi: NCR5380: Return false instead of NULL
author
Finn Thain
<fthain@telegraphics.com.au>
Wed, 24 Oct 2018 07:45:33 +0000
(18:45 +1100)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Tue, 6 Nov 2018 03:47:38 +0000
(22:47 -0500)
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>
drivers/scsi/NCR5380.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/NCR5380.c
b/drivers/scsi/NCR5380.c
index 8429c855701fca200b56df1453a4fc5188a9a38e..01c23d27f290b114c3f9e0b20b713edd30e2d884 100644
(file)
--- 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;
}