commit | c02465fa13b6232db664c5dcfe9c429b4fe31c99 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <Bart.VanAssche@sandisk.com> | Thu Mar 30 17:17:17 2017 +0000 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Apr 06 12:43:12 2017 -0400 |
tree | 9d99b1adefbee5609ceb8529671bb33e95bf929e | |
parent | 8690218a4c98af41f4abd3dba97bcf468c537629 [diff] |
scsi: osd_uld: Check scsi_device_get() return value scsi_device_get() can fail. Hence check its return value. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Boaz Harrosh <bharrosh@panasas.com> Acked-by: Boaz Harrosh <ooo@electrozaur.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>