lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109141214.C8rCVtZt-lkp@intel.com>
Date:   Tue, 14 Sep 2021 12:31:21 +0800
From:   kernel test robot <lkp@...el.com>
To:     Alexei Starovoitov <ast@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [ast:relo_core 4/9] tools/lib/bpf/relo_core.c:75:6: warning: no
 previous prototype for 'libbpf_print'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ast/bpf.git relo_core
head:   5e4dbbcc690eda4eadfb2e46900a55051c5a7f6b
commit: 5b743311a94271672b8c3770aef0a6be426f8a0c [4/9] bpf: Prepare relo_core.c for kernel duty.
config: arc-randconfig-r032-20210913 (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/ast/bpf.git/commit/?id=5b743311a94271672b8c3770aef0a6be426f8a0c
        git remote add ast https://git.kernel.org/pub/scm/linux/kernel/git/ast/bpf.git
        git fetch --no-tags ast relo_core
        git checkout 5b743311a94271672b8c3770aef0a6be426f8a0c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> tools/lib/bpf/relo_core.c:75:6: warning: no previous prototype for 'libbpf_print' [-Wmissing-prototypes]
      75 | void libbpf_print(enum libbpf_print_level level,
         |      ^~~~~~~~~~~~
   tools/lib/bpf/relo_core.c: In function 'bpf_core_apply_relo_insn':
>> tools/lib/bpf/relo_core.c:1388:1: warning: the frame size of 1128 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    1388 | }
         | ^


vim +/libbpf_print +75 tools/lib/bpf/relo_core.c

    68	
    69	enum libbpf_print_level {
    70	        LIBBPF_WARN,
    71	        LIBBPF_INFO,
    72	        LIBBPF_DEBUG,
    73	};
    74	__attribute__((format(printf, 2, 3)))
  > 75	void libbpf_print(enum libbpf_print_level level,
    76			  const char *format, ...)
    77	{
    78	}
    79	#define __pr(level, fmt, ...)	\
    80	do {				\
    81		libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__);	\
    82	} while (0)
    83	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (34459 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ