diff options
author | Phillip Potter <[email protected]> | 2021-05-03 13:56:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-13 17:33:41 +0200 |
commit | 2f4a784f40f8d337d6590e2e93f46429052e15ac (patch) | |
tree | 8597e15c92b143cf78f748776a4c70cc3e3d4d9b /scripts/gdb/linux/lists.py | |
parent | 4d427b408c4c2ff1676966c72119a3a559f8e39b (diff) |
scsi: ufs: handle cleanup correctly on devm_reset_control_get error
Move ufshcd_set_variant call in ufs_hisi_init_common to common error
section at end of the function, and then jump to this from the error
checking statements for both devm_reset_control_get and
ufs_hisi_get_resource. This fixes the original commit (63a06181d7ce)
which was reverted due to the University of Minnesota problems.
Suggested-by: Greg Kroah-Hartman <[email protected]>
Cc: Avri Altman <[email protected]>
Cc: Martin K. Petersen <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Phillip Potter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions