Skip to content
Commit 63a06181 authored by Kangjie Lu's avatar Kangjie Lu Committed by Martin K. Petersen
Browse files

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: default avatarKangjie Lu <kjlu@umn.edu>
Acked-by: default avatarAvri Altman <avri.altman@wdc.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 9e2a07e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment