aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorStanley Chu <[email protected]>2020-03-18 18:40:10 +0800
committerMartin K. Petersen <[email protected]>2020-03-26 22:07:12 -0400
commitba0320fbb809de541a9b396e153171151607bac8 (patch)
tree1a9541ad3254ec02a01a278c37fa65f0f8bbdc74 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent82b8cf40bfe1077d8d757e223eb7a35c25f650ec (diff)
scsi: ufs: fix uninitialized tx_lanes in ufshcd_disable_tx_lcc()
In ufshcd_disable_tx_lcc(), if ufshcd_dme_get() or ufshcd_dme_peer_get() get fail, uninitialized variable "tx_lanes" may be used as unexpected lane ID for DME configuration. Fix this issue by initializing "tx_lanes". Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Avri Altman <[email protected]> Reviewed-by: Can Guo <[email protected]> Reviewed-by: Asutosh Das <[email protected]> Signed-off-by: Stanley Chu <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions