Re: linux-next: build warnings after merge of the vfs-brauner tree

From: David Disseldorp
Date: Wed Mar 05 2025 - 05:55:44 EST


Hi Stephen,

On Wed, 5 Mar 2025 21:07:02 +1100, Stephen Rothwell wrote:

> Hi all,
>
> After merging the vfs-brauner tree, today's linux-next build (powerpc
> allyesconfig) produced these warnings:
>
> WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0x0 (section: .data) -> initramfs_test_extract (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0x30 (section: .data) -> initramfs_test_fname_overrun (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0x60 (section: .data) -> initramfs_test_data (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0x90 (section: .data) -> initramfs_test_csum (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0xc0 (section: .data) -> initramfs_test_hardlink (section: .init.text)
> WARNING: modpost: vmlinux: section mismatch in reference: initramfs_test_cases+0xf0 (section: .data) -> initramfs_test_many (section: .init.text)
>
> Introduced by commit
>
> b6736cfccb58 ("initramfs_test: kunit tests for initramfs unpacking")

The new warnings are being discussed in a thread at:
https://lore.kernel.org/linux-kselftest/20250305114701.28c0ee0b.ddiss@xxxxxxx/T/#u

Thanks, David