Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Finn Thain and committed by
Martin K. Petersen
96edebd6 0d52e642

+1 -1
+1 -1
drivers/scsi/NCR5380.c
··· 1198 1198 1199 1199 out: 1200 1200 if (!hostdata->selecting) 1201 - return NULL; 1201 + return false; 1202 1202 hostdata->selecting = NULL; 1203 1203 return ret; 1204 1204 }