From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C043FCD3423 for ; Sat, 2 May 2026 17:24:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 7B9AC6109E; Sat, 2 May 2026 17:24:36 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id XdNM3nZKA4ed; Sat, 2 May 2026 17:24:34 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 7C41C6109A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1777742674; bh=xSYGdiDfgLnFnoDElmVZKpwDdpzcT7RaBEf1n4T9Z78=; h=Date:From:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=rWaOWZELl1Uj++Z8E/IRWgJS+EkCL844HGkw03ZxhIrUlxXw398Z1VVG0I8LMsO6V xMQ/a0wGpF7304Nnv7JsqoJtbMLt53VOQGFc4xBbwdeKiFl/KrChXuoUlS/MXTtqAh T+7ZvUlef+cb+B0qBO92Vj3OeLzo+ttyfk13QNELflQNnlRxTKfFWLQBzjWOaLMO31 5WF9/zWTSXNidcbOXilKyz8M9Q7UG1Ir/whvv/ZPwh745us1hNbDkgeVf2Y6eGb8D8 hMiQYxhZkyOEhHGRM/CPLsnIDky+lPOuCsl4RzQjcE0tYUiwFfP9LOwlR7AXr7lOQH YVNXUCk2FFR7Q== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 7C41C6109A; Sat, 2 May 2026 17:24:34 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists1.osuosl.org (Postfix) with ESMTP id CDA35127 for ; Sat, 2 May 2026 17:24:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id B3E334127E for ; Sat, 2 May 2026 17:24:32 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id TqinMiH3b0EX for ; Sat, 2 May 2026 17:24:32 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=192.198.163.19; helo=mgamail.intel.com; envelope-from=lkp@intel.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org CB48D4121F DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org CB48D4121F Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by smtp4.osuosl.org (Postfix) with ESMTPS id CB48D4121F for ; Sat, 2 May 2026 17:24:31 +0000 (UTC) X-CSE-ConnectionGUID: A80Oe0huQOS+Ywy4azbw+g== X-CSE-MsgGUID: q6wPWEzkR8Sl1G/aYa1j9g== X-IronPort-AV: E=McAfee;i="6800,10657,11774"; a="77690838" X-IronPort-AV: E=Sophos;i="6.23,212,1770624000"; d="scan'208";a="77690838" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2026 10:24:30 -0700 X-CSE-ConnectionGUID: vVwE1Am3S8qq/8IQ4D2Xjw== X-CSE-MsgGUID: Rroz5eB1QkmGOZFgB7wFbQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,212,1770624000"; d="scan'208";a="228639273" Received: from lkp-server01.sh.intel.com (HELO 781826d00641) ([10.239.97.150]) by fmviesa009.fm.intel.com with ESMTP; 02 May 2026 10:24:29 -0700 Received: from kbuild by 781826d00641 with local (Exim 4.98.2) (envelope-from ) id 1wJE4o-000000001ep-3nq8; Sat, 02 May 2026 17:24:26 +0000 Date: Sun, 03 May 2026 01:24:17 +0800 From: kernel test robot Cc: oe-kbuild-all@lists.linux.dev, Intel Wired LAN , Tony Nguyen , Sridhar Samudrala , Larysa Zaremba Message-ID: <202605030146.fEzMWDym-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1777742671; x=1809278671; h=date:from:cc:subject:message-id; bh=EGnwQsE6P7jCBjM0G5aU1z8kq2t0VK2VjkNSKsTI7V0=; b=gnMZUj245bKYBXMglUUT+VarMnyypZtf0gGo1rW2pKqVRYTbsBMs1Eaz 4oT/orAfyV8xm9Ys2AY/A91LIoftJshftSb8fgZk6tVkwsMzCsi40kn1S ambJQiGClVBuSpiYBZwqiMjhczC4eXrewLsqq9ryoVGrhzw6pXwfpAi3Q abWzJBmXtDjzWbKpbJYP38KLZ/3uObd8dfjwDqyp4LkptolbcWTAjVo9F LebGUbaXVze6MXFT1txJ0P8vqQFJEZP7mAYNy7ysNZ5HKEG8BUgFhH6Co RlUJ6CMq+KK64GdOPtBnEW3Nl4rJzmXA0riv9iXZ5YHwbcUyj2r9N08zi A==; X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=intel.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=gnMZUj24 Subject: [Intel-wired-lan] [tnguy-next-queue:dev-queue 4/145] include/linux/intel/virtchnl.h:480:30: error: enumerator value for 'virtchnl_static_assert_virtchnl_irq_map_info' is not an integer constant X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" tree: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git dev-queue head: 03bfd1fd4cea5b5be0d50475802a29a8de476969 commit: 02f11e95790d60c0713cceb05399ca93da4e0093 [4/145] virtchnl: create 'include/linux/intel' and move necessary header files config: arm-randconfig-004-20260502 (https://download.01.org/0day-ci/archive/20260503/202605030146.fEzMWDym-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 14.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260503/202605030146.fEzMWDym-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202605030146.fEzMWDym-lkp@intel.com/ All error/warnings (new ones prefixed by >>): In file included from drivers/net/ethernet/intel/iavf/iavf.h:40, from drivers/net/ethernet/intel/iavf/iavf_adv_rss.c:6: >> include/linux/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/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/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/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/intel/virtchnl.h 62683ab51e487fb drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h Greg Rose 2013-12-21 479 5e7f59fa07f86f5 include/linux/avf/virtchnl.h Alexander Lobakin 2023-07-28 @480 VIRTCHNL_CHECK_STRUCT_LEN(2, virtchnl_irq_map_info); 5e7f59fa07f86f5 include/linux/avf/virtchnl.h Alexander Lobakin 2023-07-28 481 #define virtchnl_irq_map_info_LEGACY_SIZEOF 14 73556269aab30c3 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 :::::: CC: Tony Nguyen -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki