lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aIiRC8fXiOXKbPM_@kernel.org>
Date: Tue, 29 Jul 2025 12:14:51 +0300
From: Mike Rapoport <rppt@...nel.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build warning after merge of the mm-nonmm-unstable
 tree

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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ