linux-next: build failure after merge of the mm-nonmm-unstable tree

Stephen Rothwell posted 1 patch 2 months, 4 weeks ago
kernel/kexec_core.c | 1 -
1 file changed, 1 deletion(-)
linux-next: build failure after merge of the mm-nonmm-unstable tree
Posted by Stephen Rothwell 2 months, 4 weeks ago
Hi all,

After merging the mm-nonmm-unstable tree, today's linux-next build
(x86_64 allmodconfig) failed like this:

kernel/kexec_core.c: In function 'kernel_kexec':
kernel/kexec_core.c:1138:2: error: label 'Resume_console' defined but not used [-Werror=unused-label]
 1138 |  Resume_console:
      |  ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  fbb5aa47e7b0 ("kexec_core: fix error code path in the KEXEC_JUMP flow")

I have applied the following fix patch.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 11 Jul 2025 10:35:39 +1000
Subject: [PATCH] fix up for "kexec_core: fix error code path in the KEXEC_JUMP flow"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 kernel/kexec_core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c
index 842611c0b51a..351cd7d76dfa 100644
--- a/kernel/kexec_core.c
+++ b/kernel/kexec_core.c
@@ -1135,7 +1135,6 @@ int kernel_kexec(void)
 		dpm_resume_start(PMSG_RESTORE);
  Resume_devices:
 		dpm_resume_end(PMSG_RESTORE);
- Resume_console:
 		console_resume_all();
 		thaw_processes();
  Restore_console:
-- 
2.50.0

-- 
Cheers,
Stephen Rothwell