Thread (2 messages) flat view 2 messages, 2 authors, 2021-03-31

Re: [PATCH] powerpc/prom: Mark identical_pvr_fixup as __init

From: Michael Ellerman <hidden>
Date: 2021-03-31 01:11:33
Also in: lkml

On Tue, 2 Mar 2021 13:08:29 -0700, Nathan Chancellor wrote:
If identical_pvr_fixup() is not inlined, there are two modpost warnings:

WARNING: modpost: vmlinux.o(.text+0x54e8): Section mismatch in reference
from the function identical_pvr_fixup() to the function
.init.text:of_get_flat_dt_prop()
The function identical_pvr_fixup() references
the function __init of_get_flat_dt_prop().
This is often because identical_pvr_fixup lacks a __init
annotation or the annotation of of_get_flat_dt_prop is wrong.

[...]
Applied to powerpc/next.

[1/1] powerpc/prom: Mark identical_pvr_fixup as __init
      https://git.kernel.org/powerpc/c/1ef1dd9c7ed27b080445e1576e8a05957e0e4dfc

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help