linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the mm-nonmm-unstable tree
@ 2025-07-29  5:00 Stephen Rothwell
  2025-07-29  9:14 ` Mike Rapoport
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2025-07-29  5:00 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Mike Rapoport (Microsoft), Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

Hi all,

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

WARNING: modpost: vmlinux: section mismatch in reference: kho_test_restore+0x16c (section: .text.unlikely) -> kho_test_restore_data.isra.0 (section: .init.text)

Introduced by commit

  c2d288f7ab13 ("kho: add test for kexec handover")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-next: build warning after merge of the mm-nonmm-unstable tree
  2025-07-29  5:00 linux-next: build warning after merge of the mm-nonmm-unstable tree Stephen Rothwell
@ 2025-07-29  9:14 ` Mike Rapoport
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Rapoport @ 2025-07-29  9:14 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Andrew Morton, Linux Kernel Mailing List, Linux Next Mailing List

On Tue, Jul 29, 2025 at 03:00:42PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the mm-nonmm-unstable tree, today's linux-next build
> (x86_64 allmodconfig) produced this warning:
> 
> WARNING: modpost: vmlinux: section mismatch in reference: kho_test_restore+0x16c (section: .text.unlikely) -> kho_test_restore_data.isra.0 (section: .init.text)
> 
> Introduced by commit
> 
>   c2d288f7ab13 ("kho: add test for kexec handover")

This should fix it. Andrew can you please add it as a fixup?

diff --git a/lib/test_kho.c b/lib/test_kho.c
index f5fe39c7c2b1..c2eb899c3b45 100644
--- a/lib/test_kho.c
+++ b/lib/test_kho.c
@@ -194,7 +194,7 @@ static int kho_test_save(void)
 	return register_kho_notifier(&kho_test_nb);
 }
 
-static int __init kho_test_restore_data(const void *fdt, int node)
+static int kho_test_restore_data(const void *fdt, int node)
 {
 	const unsigned int *nr_folios;
 	const phys_addr_t *folios_info;
 
> -- 
> Cheers,
> Stephen Rothwell

-- 
Sincerely yours,
Mike.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-29  9:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-29  5:00 linux-next: build warning after merge of the mm-nonmm-unstable tree Stephen Rothwell
2025-07-29  9:14 ` Mike Rapoport

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).