scsi: Make checking the scsi_device_get() return value mandatory
authorBart Van Assche <bart.vanassche@sandisk.com>
Wed, 5 Apr 2017 16:52:50 +0000 (09:52 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 6 Apr 2017 16:45:38 +0000 (12:45 -0400)
commited12e031b0deb0268cc6ed2d6c49dbcbec1cf038
tree6e2b2cbdf112941cb8140a37e4fb96cb605eea1f
parentc02465fa13b6232db664c5dcfe9c429b4fe31c99
scsi: Make checking the scsi_device_get() return value mandatory

Now that all scsi_device_get() callers check the return value of this
function, make checking that return value mandatory.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/scsi/scsi_device.h