Re: [PATCH net-next] vmcore: move get_vmcore_size out of __init

From
David Miller <davem@davemloft.net>
Date
2018-05-21 16:34:44
Also in
kexec, linux-fsdevel, lkml
Reply to
Rahul Lakkireddy, 2018-05-21
From: Rahul Lakkireddy <redacted>
Date: Mon, 21 May 2018 19:07:50 +0530
Fix below build warning:

WARNING: vmlinux.o(.text+0x422bb8): Section mismatch in reference from
the function vmcore_add_device_dump() to the function
.init.text:get_vmcore_size.constprop.5()

The function vmcore_add_device_dump() references
the function __init get_vmcore_size.constprop.5().
This is often because vmcore_add_device_dump lacks a __init
annotation or the annotation of get_vmcore_size.constprop.5 is wrong.

Fixes: 7efe48df8a3d ("vmcore: append device dumps to vmcore as elf notes")
Signed-off-by: Rahul Lakkireddy <redacted>
Signed-off-by: Ganesh Goudar <redacted>
Applied, thank you.
Thread (2 messages) 2 messages, 2 authors, last reply 2018-05-21
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