diff options
author | Alice Chao <alice.chao@mediatek.com> | 2022-06-23 11:50:52 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-06-27 23:17:36 -0400 |
commit | df1ea242e3d702342fd0c7c1a7b9ed6838645a05 (patch) | |
tree | 4bfe2764dfdcdbabac58b45049a3ad23aa5404a2 /.cocciconfig | |
parent | c64c487d953331df239cf866d178612796e59f93 (diff) |
scsi: ufs: ufs-mediatek: Fix invalid access to vccqx
NULL pointer access issue was found for the regulator released
by ufs_mtk_vreg_fix_vccq(). Simply fix this issue by clearing
the released vreg pointer in ufs_hba struct.
Link: https://lore.kernel.org/r/20220623035052.18802-9-stanley.chu@mediatek.com
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Alice Chao <alice.chao@mediatek.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions