diff options
| author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-05-20 16:17:12 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2022-06-06 12:35:15 +0100 |
| commit | 9972773c26125242b467f0062c1fee874c87ae68 (patch) | |
| tree | 839df4fb67eed9372a6c4bd3e1a6d1ff20a13d5c /tools/perf/scripts/python/stackcollapse.py | |
| parent | ASoC: Intel: atom: controls: remove useless initializations (diff) | |
| download | linux-9972773c26125242b467f0062c1fee874c87ae68.tar.gz linux-9972773c26125242b467f0062c1fee874c87ae68.zip | |
ASoC: Intel: boards: reset acpi_chan_package
cppcheck complains about possible tests of uninitialized 'aif_value'
members. This isn't really possible but static analysis cannot know
what ACPICA does, so make sure the acpi_chan_package structure is
reset prior to use to make the warning go away.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220520211719.607543-10-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
