Re: linux-5.10.127 modpost warning
From: Greg Kroah-Hartman
Date: Wed Jun 29 2022 - 04:25:38 EST
On Wed, Jun 29, 2022 at 08:18:04AM +0000, Jari Ruusu wrote:
> This shows up when building linux-5.10.127
>
> LD vmlinux.o
> MODPOST vmlinux.symvers
> WARNING: modpost: vmlinux.o(___ksymtab+drm_fb_helper_modinit+0x0): Section mismatch in reference from the variable __ksymtab_drm_fb_helper_modinit to the function .init.text:drm_fb_helper_modinit()
> The symbol drm_fb_helper_modinit is exported and annotated __init
> Fix this by removing the __init annotation of drm_fb_helper_modinit or drop the export.
Known issue, see the stable list, I'll be fixing this up for the next
release, thanks.
greg k-h