Hi Hao, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on 2b3e8f6f5b939ceeb2e097339bf78ebaaf11dfe9] url: https://github.com/intel-lab-lkp/linux/commits/Hao-Sun/bpf-Add-LDX-STX-ST-sanitize-in-jited-BPF-progs/20221125-143743 base: 2b3e8f6f5b939ceeb2e097339bf78ebaaf11dfe9 patch link: https://lore.kernel.org/r/20221125063630.536657-3-sunhao.th%40gmail.com patch subject: [PATCH bpf-next v2 2/3] bpf: Sanitize LDX in jited BPF progs with KASAN config: powerpc-allyesconfig compiler: powerpc-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/2a9cbd2def8de929b9d30e5cbe68ac69ddb8dcb5 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Hao-Sun/bpf-Add-LDX-STX-ST-sanitize-in-jited-BPF-progs/20221125-143743 git checkout 2a9cbd2def8de929b9d30e5cbe68ac69ddb8dcb5 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash kernel/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): kernel/bpf/verifier.c:15335:21: warning: no previous prototype for 'bpf_asan_store8' [-Wmissing-prototypes] 15335 | notrace u64 bpf_asan_store##n(u##n *addr) \ | ^~~~~~~~~~~~~~ kernel/bpf/verifier.c:15342:1: note: in expansion of macro 'BPF_ASAN_STORE' 15342 | BPF_ASAN_STORE(8); | ^~~~~~~~~~~~~~ kernel/bpf/verifier.c:15335:21: warning: no previous prototype for 'bpf_asan_store16' [-Wmissing-prototypes] 15335 | notrace u64 bpf_asan_store##n(u##n *addr) \ | ^~~~~~~~~~~~~~ kernel/bpf/verifier.c:15343:1: note: in expansion of macro 'BPF_ASAN_STORE' 15343 | BPF_ASAN_STORE(16); | ^~~~~~~~~~~~~~ kernel/bpf/verifier.c:15335:21: warning: no previous prototype for 'bpf_asan_store32' [-Wmissing-prototypes] 15335 | notrace u64 bpf_asan_store##n(u##n *addr) \ | ^~~~~~~~~~~~~~ kernel/bpf/verifier.c:15344:1: note: in expansion of macro 'BPF_ASAN_STORE' 15344 | BPF_ASAN_STORE(32); | ^~~~~~~~~~~~~~ kernel/bpf/verifier.c:15335:21: warning: no previous prototype for 'bpf_asan_store64' [-Wmissing-prototypes] 15335 | notrace u64 bpf_asan_store##n(u##n *addr) \ | ^~~~~~~~~~~~~~ kernel/bpf/verifier.c:15345:1: note: in expansion of macro 'BPF_ASAN_STORE' 15345 | BPF_ASAN_STORE(64); | ^~~~~~~~~~~~~~ >> kernel/bpf/verifier.c:15348:21: warning: no previous prototype for 'bpf_asan_load8' [-Wmissing-prototypes] 15348 | notrace u64 bpf_asan_load##n(u##n *addr) \ | ^~~~~~~~~~~~~ kernel/bpf/verifier.c:15353:1: note: in expansion of macro 'BPF_ASAN_LOAD' 15353 | BPF_ASAN_LOAD(8); | ^~~~~~~~~~~~~ >> kernel/bpf/verifier.c:15348:21: warning: no previous prototype for 'bpf_asan_load16' [-Wmissing-prototypes] 15348 | notrace u64 bpf_asan_load##n(u##n *addr) \ | ^~~~~~~~~~~~~ kernel/bpf/verifier.c:15354:1: note: in expansion of macro 'BPF_ASAN_LOAD' 15354 | BPF_ASAN_LOAD(16); | ^~~~~~~~~~~~~ >> kernel/bpf/verifier.c:15348:21: warning: no previous prototype for 'bpf_asan_load32' [-Wmissing-prototypes] 15348 | notrace u64 bpf_asan_load##n(u##n *addr) \ | ^~~~~~~~~~~~~ kernel/bpf/verifier.c:15355:1: note: in expansion of macro 'BPF_ASAN_LOAD' 15355 | BPF_ASAN_LOAD(32); | ^~~~~~~~~~~~~ >> kernel/bpf/verifier.c:15348:21: warning: no previous prototype for 'bpf_asan_load64' [-Wmissing-prototypes] 15348 | notrace u64 bpf_asan_load##n(u##n *addr) \ | ^~~~~~~~~~~~~ kernel/bpf/verifier.c:15356:1: note: in expansion of macro 'BPF_ASAN_LOAD' 15356 | BPF_ASAN_LOAD(64); | ^~~~~~~~~~~~~ vim +/bpf_asan_load8 +15348 kernel/bpf/verifier.c 15346 15347 #define BPF_ASAN_LOAD(n) \ 15348 notrace u64 bpf_asan_load##n(u##n *addr) \ 15349 { \ 15350 return *addr; \ 15351 } 15352 -- 0-DAY CI Kernel Test Service https://01.org/lkp