From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
Intel Wired LAN <intel-wired-lan@lists.osuosl.org>,
Tony Nguyen <anthony.l.nguyen@intel.com>,
Sridhar Samudrala <sridhar.samudrala@intel.com>,
Larysa Zaremba <larysa.zaremba@intel.com>
Subject: [Intel-wired-lan] [tnguy-next-queue:dev-queue 53/137] include/linux/net/intel/virtchnl.h:480:30: error: enumerator value for 'virtchnl_static_assert_virtchnl_irq_map_info' is not an integer constant
Date: Thu, 02 Jul 2026 07:38:29 +0800 [thread overview]
Message-ID: <202607020746.dwYTCJet-lkp@intel.com> (raw)
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/202607020746.dwYTCJet-lkp@intel.com/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/202607020746.dwYTCJet-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/202607020746.dwYTCJet-lkp@intel.com/
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 <aleksander.lobakin@intel.com>
:::::: CC: Tony Nguyen <anthony.l.nguyen@intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
Intel Wired LAN <intel-wired-lan@lists.osuosl.org>,
Tony Nguyen <anthony.l.nguyen@intel.com>,
Sridhar Samudrala <sridhar.samudrala@intel.com>,
Larysa Zaremba <larysa.zaremba@intel.com>
Subject: [tnguy-next-queue:dev-queue 53/137] include/linux/net/intel/virtchnl.h:480:30: error: enumerator value for 'virtchnl_static_assert_virtchnl_irq_map_info' is not an integer constant
Date: Thu, 02 Jul 2026 07:38:29 +0800 [thread overview]
Message-ID: <202607020746.dwYTCJet-lkp@intel.com> (raw)
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/202607020746.dwYTCJet-lkp@intel.com/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/202607020746.dwYTCJet-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/202607020746.dwYTCJet-lkp@intel.com/
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 <aleksander.lobakin@intel.com>
:::::: CC: Tony Nguyen <anthony.l.nguyen@intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-07-01 23:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-01 23:38 kernel test robot [this message]
2026-07-01 23:38 ` [tnguy-next-queue:dev-queue 53/137] include/linux/net/intel/virtchnl.h:480:30: error: enumerator value for 'virtchnl_static_assert_virtchnl_irq_map_info' is not an integer constant 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=202607020746.dwYTCJet-lkp@intel.com \
--to=lkp@intel.com \
--cc=anthony.l.nguyen@intel.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=larysa.zaremba@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sridhar.samudrala@intel.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.