All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ryan Wilson <ryantimwilson@gmail.com>,
	bpf@vger.kernel.org, ast@kernel.org, andrii@kernel.org,
	daniel@iogearbox.net
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	ryantimwilson@meta.com
Subject: Re: [PATCH bpf-next] bpf: Add multi-prog support for XDP BPF programs
Date: Sun, 17 Nov 2024 12:43:32 +0800	[thread overview]
Message-ID: <202411171200.F60G1P8R-lkp@intel.com> (raw)
In-Reply-To: <20241114170721.3939099-1-ryantimwilson@gmail.com>

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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411171200.F60G1P8R-lkp@intel.com/

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

  parent reply	other threads:[~2024-11-17  4:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-14 17:07 [PATCH bpf-next] bpf: Add multi-prog support for XDP BPF programs Ryan Wilson
2024-11-15  0:52 ` Alexei Starovoitov
2024-11-15  2:41   ` Ryan Wilson
2024-11-15 11:07     ` Toke Høiland-Jørgensen
2024-11-15 16:06       ` Ryan Wilson
2024-11-18 12:30         ` Toke Høiland-Jørgensen
2024-11-15 22:08 ` Andrii Nakryiko
2024-11-15 22:31   ` Ryan Wilson
2024-11-17  3:36 ` kernel test robot
2024-11-17  4:33 ` kernel test robot
2024-11-17  4:43 ` kernel test robot [this message]
2024-11-17 13:44 ` kernel test robot
2024-11-30 17:54 ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202411171200.F60G1P8R-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ryantimwilson@gmail.com \
    --cc=ryantimwilson@meta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.