aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-04-28 23:47:31 +0200
committerMark Brown <[email protected]>2020-04-29 14:23:16 +0100
commitbe16a0f0dc8fab8e25d9cdbeb4f8f28afc9186d2 (patch)
treeb1bc23f8eb4b5474b9fedb371e2dbe8cd437afd8 /tools/perf/scripts/python
parenteda12425b266b85a8c4b8f4f25ca8afc7e36070f (diff)
ASoC: component: suppress uninitialized-variable warning
Old versions of gcc (tested on gcc-4.8) produce a warning for correct code: sound/soc/soc-compress.c: In function 'soc_compr_open': sound/soc/soc-compress.c:75:28: error: 'component' is used uninitialized in this function [-Werror=uninitialized] struct snd_soc_component *component, *save = NULL; Change the for_each_rtd_components() macro to ensure 'component' gets initialized to a value the compiler does not complain about. Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions