diff options
| author | Mark Brown <broonie@kernel.org> | 2026-07-13 17:04:04 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-13 17:42:53 +0100 |
| commit | a9a2c8c44b30f15596d5b1a0982d13b0c79911f4 (patch) | |
| tree | ead43cff971f84627cbd6fb19370996dff973f5a /tools/perf/scripts/python | |
| parent | cd0265621624f50f7878dac52d3b5a9d8b48c33c (diff) | |
ASoC: simple-card: Fix clang build
Jumping over the allocation of the link_info for a missing dev breaks
the build:
/tmp/next/build/sound/soc/generic/simple-card.c:676:3: error: cannot jump from this goto statement to its label
676 | goto end;
| ^
/tmp/next/build/sound/soc/generic/simple-card.c:679:20: note: jump bypasses initialization of variable with __attribute__((cleanup))
679 | struct link_info *li __free(kfree) = kzalloc_obj(*li);
| ^
Fixes: 7f20b9b05b3a ("ASoC: simple-card: merge extra method into simple_parse_of()")
Link: https://patch.msgid.link/20260713-asoc-fix-simple-card-build-v1-1-671ad44ad1a0@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
