diff options
| author | Rafael J. Wysocki <[email protected]> | 2025-07-10 13:10:41 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-07-15 12:56:37 +0000 |
| commit | 996afb6efd1a345736f9a888e4d6c7d4f3752aa5 (patch) | |
| tree | 659783b7014775c37c4ba9c3908cccd95d5de009 /lib/crypto/mpi/mpi-mul.c | |
| parent | PM: sleep: Clean up MAINTAINERS entries for suspend and hibernation (diff) | |
| download | kernel-996afb6efd1a345736f9a888e4d6c7d4f3752aa5.tar.gz kernel-996afb6efd1a345736f9a888e4d6c7d4f3752aa5.zip | |
kexec_core: Fix error code path in the KEXEC_JUMP flow
If dpm_suspend_start() fails, dpm_resume_end() must be called to
recover devices whose suspend callbacks have been called, but this
does not happen in the KEXEC_JUMP flow's error path due to a confused
goto target label.
Address this by using the correct target label in the goto statement in
question and drop the Resume_console label that is not used any more.
Fixes: 2965faa5e03d ("kexec: split kexec_load syscall from kexec core code")
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Baoquan He <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ rjw: Drop unused label and amend the changelog ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
