RE: [PATCH] Adds __init annotation at mmu_init_secondary func

From
Michael Ellerman <mpe@ellerman.id.au>
Date
2018-07-30 06:57:25
Reply to
Alexey Spirkov, 2018-07-27
Alexey Spirkov [off-list ref] writes:
Without any additional option 

WARNING: modpost: Found 1 section mismatch(es).

If detailed debug is switched on than:

WARNING: vmlinux.o(.text+0x142ac): Section mismatch in reference from the function mmu_init_secondary() to the function .init.text:ppc44x_pin_tlb()
The function mmu_init_secondary() references
the function __init ppc44x_pin_tlb().
This is often because mmu_init_secondary lacks a __init 
annotation or the annotation of ppc44x_pin_tlb is wrong.
Ah right, thanks.

I checked ppc47x_pin_tlb() but didn't spot the call to ppc44x_pin_tlb().

cheers
Thread (5 messages) 5 messages, 3 authors, 2018-08-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help