tree: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git dev-queue head: 62cd994a473c1a7b1f9880e51d3c8ef8ae3b7550 commit: 4efec52d707a97415f9106aa4ae888ddf2644a09 [53/137] virtchnl: move virtchnl and virtchnl2 headers to 'include/linux/net/intel' config: arm-randconfig-r051-20260702 (https://download.01.org/0day-ci/archive/20260702/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260702/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All error/warnings (new ones prefixed by >>): In file included from drivers/net/ethernet/intel/iavf/iavf.h:30, from drivers/net/ethernet/intel/iavf/iavf_main.c:7: >> include/linux/net/intel/virtchnl.h:174:43: warning: division by zero >> [-Wdiv-by-zero] 174 | { virtchnl_static_assert_##X = (n)/((sizeof(struct X) == (n)) ? 1 : 0) } | ^ include/linux/net/intel/virtchnl.h:480:1: note: in expansion of macro 'VIRTCHNL_CHECK_STRUCT_LEN' 480 | VIRTCHNL_CHECK_STRUCT_LEN(2, virtchnl_irq_map_info); | ^~~~~~~~~~~~~~~~~~~~~~~~~ >> include/linux/net/intel/virtchnl.h:480:30: error: enumerator value for >> 'virtchnl_static_assert_virtchnl_irq_map_info' is not an integer constant 480 | VIRTCHNL_CHECK_STRUCT_LEN(2, virtchnl_irq_map_info); | ^~~~~~~~~~~~~~~~~~~~~ include/linux/net/intel/virtchnl.h:174:60: note: in definition of macro 'VIRTCHNL_CHECK_STRUCT_LEN' 174 | { virtchnl_static_assert_##X = (n)/((sizeof(struct X) == (n)) ? 1 : 0) } | ^ vim +/virtchnl_static_assert_virtchnl_irq_map_info +480 include/linux/net/intel/virtchnl.h 62683ab51e487f drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h Greg Rose 2013-12-21 479 5e7f59fa07f86f include/linux/avf/virtchnl.h Alexander Lobakin 2023-07-28 @480 VIRTCHNL_CHECK_STRUCT_LEN(2, virtchnl_irq_map_info); 5e7f59fa07f86f include/linux/avf/virtchnl.h Alexander Lobakin 2023-07-28 481 #define virtchnl_irq_map_info_LEGACY_SIZEOF 14 73556269aab30c include/linux/avf/virtchnl.h Sridhar Samudrala 2017-05-11 482 :::::: The code at line 480 was first introduced by commit :::::: 5e7f59fa07f86f554c301c7a383bba54d5ef9819 virtchnl: fix fake 1-elem arrays in structures allocated as `nents + 1` :::::: TO: Alexander Lobakin <[email protected]> :::::: CC: Tony Nguyen <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
