Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH RFC bpf-next v2 03/17] trait: XDP support
       [not found] <20250422-afabre-traits-010-rfc2-v2-3-92bcc6b146c9@arthurfabre.com>
@ 2025-04-23  3:58 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-23  3:58 UTC (permalink / raw)
  To: Arthur Fabre; +Cc: llvm, oe-kbuild-all

Hi Arthur,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on 5709be4c35ba760b001733939e20069de033a697]

url:    https://github.com/intel-lab-lkp/linux/commits/Arthur-Fabre/trait-limited-KV-store-for-packet-metadata/20250422-212907
base:   5709be4c35ba760b001733939e20069de033a697
patch link:    https://lore.kernel.org/r/20250422-afabre-traits-010-rfc2-v2-3-92bcc6b146c9%40arthurfabre.com
patch subject: [PATCH RFC bpf-next v2 03/17] trait: XDP support
config: i386-buildonly-randconfig-004-20250423 (https://download.01.org/0day-ci/archive/20250423/202504231144.lGvVxUZ5-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250423/202504231144.lGvVxUZ5-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/202504231144.lGvVxUZ5-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from fs/select.c:33:
   In file included from include/net/busy_poll.h:19:
>> include/net/xdp.h:292:15: error: static assertion failed due to requirement 'sizeof(struct xdp_frame) == (40)': sizeof(struct xdp_frame) == _XDP_FRAME_SIZE
     292 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE);
         | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert'
      77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr)
         |                                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert'
      78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
         |                                                        ^~~~
   include/net/xdp.h:292:40: note: expression evaluates to '32 == 40'
     292 | static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE);
         | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert'
      77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr)
         |                                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert'
      78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
         |                                                        ^~~~
   1 error generated.


vim +292 include/net/xdp.h

   291	
 > 292	static_assert(sizeof(struct xdp_frame) == _XDP_FRAME_SIZE);
   293	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-04-23  3:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250422-afabre-traits-010-rfc2-v2-3-92bcc6b146c9@arthurfabre.com>
2025-04-23  3:58 ` [PATCH RFC bpf-next v2 03/17] trait: XDP support kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox