]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e48171619a191aca8a538907ca8714543237eca
tree6e2b2cbdf112941cb8140a37e4fb96cb605eea1f
parentda2c34bd482c18686fd5754d13a1c264af1040ed
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