* kernel/bpf/verifier.c:11717:5: warning: stack frame size of 1032 bytes in function 'bpf_check'
@ 2021-01-21 7:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-21 7:11 UTC (permalink / raw)
To: Hao Luo; +Cc: kbuild-all, clang-built-linux, linux-kernel, Alexei Starovoitov
[-- Attachment #1: Type: text/plain, Size: 2257 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9791581c049c10929e97098374dd1716a81fefcc
commit: eaa6bcb71ef6ed3dc18fc525ee7e293b06b4882b bpf: Introduce bpf_per_cpu_ptr()
date: 4 months ago
config: mips-randconfig-r003-20210121 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 22b68440e1647e16b5ee24b924986207173c02d1)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eaa6bcb71ef6ed3dc18fc525ee7e293b06b4882b
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout eaa6bcb71ef6ed3dc18fc525ee7e293b06b4882b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> kernel/bpf/verifier.c:11717:5: warning: stack frame size of 1032 bytes in function 'bpf_check' [-Wframe-larger-than=]
int bpf_check(struct bpf_prog **prog, union bpf_attr *attr,
^
kernel/bpf/verifier.c:9163:12: warning: stack frame size of 3688 bytes in function 'do_check' [-Wframe-larger-than=]
static int do_check(struct bpf_verifier_env *env)
^
2 warnings generated.
vim +/bpf_check +11717 kernel/bpf/verifier.c
76654e67f3a01c50 Alan Maguire 2020-09-28 11716
838e96904ff3fc6c Yonghong Song 2018-11-19 @11717 int bpf_check(struct bpf_prog **prog, union bpf_attr *attr,
:::::: The code at line 11717 was first introduced by commit
:::::: 838e96904ff3fc6c30e5ebbc611474669856e3c0 bpf: Introduce bpf_func_info
:::::: TO: Yonghong Song <yhs@fb.com>
:::::: CC: Alexei Starovoitov <ast@kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 22973 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-21 7:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 7:11 kernel/bpf/verifier.c:11717:5: warning: stack frame size of 1032 bytes in function 'bpf_check' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®