summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorYuho Choi <dbgh9129@gmail.com>2026-06-15 14:07:46 -0400
committerDanilo Krummrich <dakr@kernel.org>2026-07-18 16:07:22 +0200
commit45dfa004893dfeae182ec27eddbd153c6d4ddbf9 (patch)
treed7bcc29d7cf3b42b65651a9d188de14f013d89c0 /tools/perf/scripts/python/bin/stackcollapse-report
parentba3dedcf3bd47017307595a7e54924198f018246 (diff)
driver core: soc: Unregister bus on early device registration failure
soc_bus_register() registers the SoC bus before registering a deferred early SoC device. If soc_device_register() fails in that path, the function returns the error directly and leaves the bus registered. Store the returned SoC device pointer explicitly so the success and error cases are handled separately. On failure, clear soc_bus_registered and unregister the bus before returning the error. Fixes: 6e12db376b60 ("base: soc: Allow early registration of a single SoC device") Signed-off-by: Yuho Choi <dbgh9129@gmail.com> Link: https://patch.msgid.link/20260615180746.713540-1-dbgh9129@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions