aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorTrevor Wu <[email protected]>2023-03-07 12:09:38 +0800
committerMark Brown <[email protected]>2023-03-13 14:08:39 +0000
commit3a60fa4c063dacc5eb66660aa23107f3cb8a477e (patch)
treeff65ae41c1e0e9ebfbf2db8c48afc0ec09fd8999 /tools/perf/scripts/python/bin/stackcollapse-record
parent9760e01b3851dc51d1901876668168328d34a647 (diff)
ASoC: mediatek: mt6359: fix UNINIT problem
Coverity shows decaring variable reg without initializer. When regmap_read returns an error, reg keeps the value left from earlier computation. To prevent from the unexpected result in the case, assign 0 to reg. Signed-off-by: Trevor Wu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions