diff options
| author | 2026-10-14 22:06:03 +0200 | |
|---|---|---|
| committer | 2026-10-15 23:08:05 +0100 | |
| commit | 1641c1ba27abcd3ea3bba1232d9d817092f1b757 (patch) | |
| tree | dfcb42f029691f26f415a9542ce4552805172cac /scripts/Makefile.thinlto | |
| parent | ASoC: ops: Fix return value in snd_soc_limit_volume() (diff) | |
ASoC: soc-topology-test: Check return value of kunit_device_register()
Call to kunit_device_register() can fail. Check return result of
register call. While at it introduce helper variable so that if it fails
put_device is called on properly initialized variable.
Fixes: e57cdff0ddc4 ("ASoC: topology: Replace fake root_device with kunit_device in tests")
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Link: https://patch.msgid.link/20261014200608.118770-4-amade@asmblr.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
