diff options
author | 2019-03-15 02:11:56 -0500 | |
---|---|---|
committer | 2019-03-19 14:36:28 -0400 | |
commit | 63a06181d7ce169d09843645c50fea1901bc9f0a (patch) | |
tree | 8df0cf2f35dd1cbbc0af4aba04744be6f0199469 /drivers/scsi/scsi_lib.c | |
parent | scsi: pm8001: clean up various indentation issues (diff) | |
download | wireguard-linux-63a06181d7ce169d09843645c50fea1901bc9f0a.tar.xz wireguard-linux-63a06181d7ce169d09843645c50fea1901bc9f0a.zip |
scsi: ufs: fix a missing check of devm_reset_control_get
devm_reset_control_get could fail, so the fix checks its return value and
passes the error code upstream in case it fails.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Acked-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions