summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2026-10-14 22:06:04 +0200
committerMark Brown <broonie@kernel.org>2026-10-15 23:08:06 +0100
commit77dfd98b1642b9bc6c2312bd8b805c321fb878b0 (patch)
tree03cba2f68ce29ee617403a37da645ab58e2cd212 /tools/perf/scripts/python/task-analyzer.py
parent1641c1ba27abcd3ea3bba1232d9d817092f1b757 (diff)
ASoC: soc-card-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: ef7784e41db7 ("ASoC: soc-card: Add KUnit test case for snd_soc_card_get_kcontrol") Signed-off-by: Amadeusz Sławiński <amade@asmblr.net> Link: https://patch.msgid.link/20261014200608.118770-5-amade@asmblr.net Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions