Re: [PATCH bpf-next] bpf: Add multi-prog support for XDP BPF programs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ryan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on bpf-next/master]

url:    https://github.com/intel-lab-lkp/linux/commits/Ryan-Wilson/bpf-Add-multi-prog-support-for-XDP-BPF-programs/20241115-015104
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link:    https://lore.kernel.org/r/20241114170721.3939099-1-ryantimwilson%40gmail.com
patch subject: [PATCH bpf-next] bpf: Add multi-prog support for XDP BPF programs
config: s390-allnoconfig (https://download.01.org/0day-ci/archive/20241117/202411171200.F60G1P8R-lkp@xxxxxxxxx/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241117/202411171200.F60G1P8R-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411171200.F60G1P8R-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   In file included from arch/s390/boot/startup.c:14:
   In file included from arch/s390/include/asm/diag.h:12:
   In file included from include/linux/if_ether.h:19:
   In file included from include/linux/skbuff.h:24:
   In file included from include/linux/bpf_mprog.h:6:
>> include/linux/bpf.h:2068:24: warning: field 'hdr' with variable sized type 'struct bpf_prog_array' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]
    2068 |         struct bpf_prog_array hdr;
         |                               ^
   1 warning generated.


vim +2068 include/linux/bpf.h

324bda9e6c5add Alexei Starovoitov 2017-10-02  2066  
46531a30364bd4 Pavel Begunkov     2022-01-27  2067  struct bpf_empty_prog_array {
46531a30364bd4 Pavel Begunkov     2022-01-27 @2068  	struct bpf_prog_array hdr;
46531a30364bd4 Pavel Begunkov     2022-01-27  2069  	struct bpf_prog *null_prog;
46531a30364bd4 Pavel Begunkov     2022-01-27  2070  };
46531a30364bd4 Pavel Begunkov     2022-01-27  2071  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux