All of lore.kernel.org
 help / color / mirror / Atom feed
* [ast:relo_core 4/9] tools/lib/bpf/relo_core.c:75:6: warning: no previous prototype for 'libbpf_print'
@ 2021-09-14  4:31 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-14  4:31 UTC (permalink / raw)
  To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel

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

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@intel.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

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

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

* [ast:relo_core 4/9] tools/lib/bpf/relo_core.c:75:6: warning: no previous prototype for 'libbpf_print'
@ 2021-09-14  4:31 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-14  4:31 UTC (permalink / raw)
  To: kbuild-all

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

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@intel.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(a)lists.01.org

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

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

end of thread, other threads:[~2021-09-14  4:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-14  4:31 [ast:relo_core 4/9] tools/lib/bpf/relo_core.c:75:6: warning: no previous prototype for 'libbpf_print' kernel test robot
2021-09-14  4: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.