Thread (2 messages) flat view 2 messages, 2 authors, 1d ago

Re: [PATCH] perf/x86/core: Simplify hybrid PMU registration failure path

From: sashiko-bot@kernel.org
Date: 2026-09-04 20:22:10

Handle perf_pmu_register() errors directly instead of breaking out of
the registration loop and checking the index separately. Reuse the loop
index i to unregister any previously registered PMUs in reverse order
and drop the extra index j.

Also log the failing PMU's name and error code.

Signed-off-by: Thorsten Blum <blum@kernel.org>
Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260904201313.271421-3-blum@kernel.org?part=1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help