diff options
author | Viktor Malik <vmalik@redhat.com> | 2023-03-30 12:20:01 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-04-06 06:31:11 +0200 |
commit | 34bf93472f8fb60b4189aa2872471017e739cf0a (patch) | |
tree | 07ca26e35f746b68e48b11c6e830b161a81c3644 /net/xdp | |
parent | Merge branch 'bpftool: Add inline annotations when dumping program CFGs' (diff) | |
download | linux-34bf93472f8fb60b4189aa2872471017e739cf0a.tar.xz linux-34bf93472f8fb60b4189aa2872471017e739cf0a.zip |
kallsyms: move module-related functions under correct configs
Functions for searching module kallsyms should have non-empty
definitions only if CONFIG_MODULES=y and CONFIG_KALLSYMS=y. Until now,
only CONFIG_MODULES check was used for many of these, which may have
caused complilation errors on some configs.
This patch moves all relevant functions under the correct configs.
Fixes: bd5314f8dd2d ("kallsyms, bpf: Move find_kallsyms_symbol_value out of internal header")
Signed-off-by: Viktor Malik <vmalik@redhat.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202303181535.RFDCnz3E-lkp@intel.com/
Link: https://lore.kernel.org/r/20230330102001.2183693-1-vmalik@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/xdp')
0 files changed, 0 insertions, 0 deletions