diff options
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | 2018-05-21 19:07:50 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-21 12:34:22 -0400 |
commit | 44c752fe584d8b9f6e0756ecffa8691677471862 (patch) | |
tree | 6b2fb47664b73e1b8a5d037dd6c11450f1e4cf7a /net/sched/act_vlan.c | |
parent | a6076fcd187a1cb4900cf970a04401957b4b4ab8 (diff) | |
download | blackbird-op-linux-44c752fe584d8b9f6e0756ecffa8691677471862.tar.gz blackbird-op-linux-44c752fe584d8b9f6e0756ecffa8691677471862.zip |
vmcore: move get_vmcore_size out of __init
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 <rahul.lakkireddy@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_vlan.c')
0 files changed, 0 insertions, 0 deletions