diff options
| author | Trevor Wu <[email protected]> | 2023-03-07 12:09:37 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-03-13 14:08:38 +0000 |
| commit | 9760e01b3851dc51d1901876668168328d34a647 (patch) | |
| tree | d6d2b2f905839efe8a33cf8de70d2389bd5477be /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 1a3f0116b74ba2f9477c28fcf9d66ac7126455fd (diff) | |
ASoC: mediatek: mt6358: 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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions