diff options
| author | Bradley Morgan <include@grrlz.net> | 2026-06-19 19:37:17 +0300 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-06-21 21:44:00 +0300 |
| commit | 673db10729fb121ea1b16fe57791a0cb9eac1eb5 (patch) | |
| tree | a60daf1d1cfe8eedb23711cb38aa7404272e583d /scripts | |
| parent | c94291914b200e10c72cef23c8e4c67eb4fdbcd9 (diff) | |
| download | linux-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
