All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel/bpf/verifier.c:11937:5: warning: stack frame size of 1056 bytes in function 'bpf_check'
@ 2021-01-24 12:31 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-24 12:31 UTC (permalink / raw)
  To: Alexei Starovoitov
  Cc: kbuild-all, clang-built-linux, linux-kernel, Jakub Kicinski

[-- Attachment #1: Type: text/plain, Size: 2300 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e1ae4b0be15891faf46d390e9f3dc9bd71a8cae1
commit: a1dd1d86973182458da7798a95f26cfcbea599b4 Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
date:   7 weeks ago
config: powerpc-randconfig-r005-20210124 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bd3a387ee76f58caa0d7901f3f84e9bb3d006f27)
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 powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a1dd1d86973182458da7798a95f26cfcbea599b4
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a1dd1d86973182458da7798a95f26cfcbea599b4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

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:11937:5: warning: stack frame size of 1056 bytes in function 'bpf_check' [-Wframe-larger-than=]
   int bpf_check(struct bpf_prog **prog, union bpf_attr *attr,
       ^
   kernel/bpf/verifier.c:9382:12: warning: stack frame size of 3008 bytes in function 'do_check' [-Wframe-larger-than=]
   static int do_check(struct bpf_verifier_env *env)
              ^
   2 warnings generated.


vim +/bpf_check +11937 kernel/bpf/verifier.c

76654e67f3a01c5 Alan Maguire  2020-09-28  11936  
838e96904ff3fc6 Yonghong Song 2018-11-19 @11937  int bpf_check(struct bpf_prog **prog, union bpf_attr *attr,

:::::: The code at line 11937 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: 25363 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* kernel/bpf/verifier.c:11937:5: warning: stack frame size of 1056 bytes in function 'bpf_check'
@ 2021-01-24 12:31 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-24 12:31 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2348 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   e1ae4b0be15891faf46d390e9f3dc9bd71a8cae1
commit: a1dd1d86973182458da7798a95f26cfcbea599b4 Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
date:   7 weeks ago
config: powerpc-randconfig-r005-20210124 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bd3a387ee76f58caa0d7901f3f84e9bb3d006f27)
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 powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a1dd1d86973182458da7798a95f26cfcbea599b4
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a1dd1d86973182458da7798a95f26cfcbea599b4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc 

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:11937:5: warning: stack frame size of 1056 bytes in function 'bpf_check' [-Wframe-larger-than=]
   int bpf_check(struct bpf_prog **prog, union bpf_attr *attr,
       ^
   kernel/bpf/verifier.c:9382:12: warning: stack frame size of 3008 bytes in function 'do_check' [-Wframe-larger-than=]
   static int do_check(struct bpf_verifier_env *env)
              ^
   2 warnings generated.


vim +/bpf_check +11937 kernel/bpf/verifier.c

76654e67f3a01c5 Alan Maguire  2020-09-28  11936  
838e96904ff3fc6 Yonghong Song 2018-11-19 @11937  int bpf_check(struct bpf_prog **prog, union bpf_attr *attr,

:::::: The code at line 11937 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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25363 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-24 12:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-24 12:31 kernel/bpf/verifier.c:11937:5: warning: stack frame size of 1056 bytes in function 'bpf_check' kernel test robot
2021-01-24 12:31 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.