summaryrefslogtreecommitdiffstats
path: root/rust/bindgen_parameters
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-12-15 17:43:23 +0100
committerPeter Zijlstra <peterz@infradead.org>2022-12-27 12:51:58 +0100
commitade8c20847fcc3f4de08b35f730ec04ef29ddbdc (patch)
tree2f39f47aebd536fc6f49ec8165ca2d3f2063eb62 /rust/bindgen_parameters
parentLinux 6.2-rc1 (diff)
downloadlinux-ade8c20847fcc3f4de08b35f730ec04ef29ddbdc.tar.xz
linux-ade8c20847fcc3f4de08b35f730ec04ef29ddbdc.zip
x86/calldepth: Fix incorrect init section references
The addition of callthunks_translate_call_dest means that skip_addr() and patch_dest() can no longer be discarded as part of the __init section freeing: WARNING: modpost: vmlinux.o: section mismatch in reference: callthunks_translate_call_dest.cold (section: .text.unlikely) -> skip_addr (section: .init.text) WARNING: modpost: vmlinux.o: section mismatch in reference: callthunks_translate_call_dest.cold (section: .text.unlikely) -> patch_dest (section: .init.text) WARNING: modpost: vmlinux.o: section mismatch in reference: is_callthunk.cold (section: .text.unlikely) -> skip_addr (section: .init.text) ERROR: modpost: Section mismatches detected. Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them. Fixes: b2e9dfe54be4 ("x86/bpf: Emit call depth accounting if required") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20221215164334.968863-1-arnd@kernel.org
Diffstat (limited to 'rust/bindgen_parameters')
0 files changed, 0 insertions, 0 deletions