summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBradley Morgan <include@grrlz.net>2026-06-19 19:37:17 +0300
committerThomas Gleixner <tglx@kernel.org>2026-06-21 21:44:00 +0300
commit673db10729fb121ea1b16fe57791a0cb9eac1eb5 (patch)
treea60daf1d1cfe8eedb23711cb38aa7404272e583d /scripts
parentc94291914b200e10c72cef23c8e4c67eb4fdbcd9 (diff)
downloadlinux-673db10729fb121ea1b16fe57791a0cb9eac1eb5.tar.xz
cpu: hotplug: Preserve per instance callback errors
cpuhp_invoke_callback() unwinds earlier callbacks for the same hotplug state when one instance fails. The rollback path currently reuses ret, so a successful rollback can hide the original error and make the failed transition look successful. Keep the rollback result separate from the original error. Fixes: 724a86881d03 ("smp/hotplug: Callback vs state-machine consistency") Signed-off-by: Bradley Morgan <include@grrlz.net> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20260619163719.12103-1-include@grrlz.net
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions