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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 732EBC02194 for ; Thu, 6 Feb 2025 09:32:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A12AF6B0095; Thu, 6 Feb 2025 04:32:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9C2756B0096; Thu, 6 Feb 2025 04:32:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8628E280002; Thu, 6 Feb 2025 04:32:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 6201D6B0095 for ; Thu, 6 Feb 2025 04:32:05 -0500 (EST) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id BA2CB4B32B for ; Thu, 6 Feb 2025 09:32:04 +0000 (UTC) X-FDA: 83089003368.12.79ACC58 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by imf18.hostedemail.com (Postfix) with ESMTP id 1D5361C0033 for ; Thu, 6 Feb 2025 09:32:01 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Q+LVoXTk; spf=pass (imf18.hostedemail.com: domain of lkp@intel.com designates 198.175.65.15 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1738834322; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=yrncot3E+yd5kg7J2WZ845DNJLM/IXIPpy8JoFjhsjs=; b=K306v38OHUP4XxANMD1NYLnDyP6pxS8Hm9hJmkFXkSJd4ArpEPbUi+AVZHzDVdxWW9JokC 93TIRTXdYRxDbBv1ERb3MpI2jjHd0ZcCz5UmVJzLE2+7VBXbz7VznMS7v/+dK2J9fJrdgN valvfPNnVaSrxXdBBu7tS/ch7T8rpDs= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1738834322; a=rsa-sha256; cv=none; b=IOMaeAryH9jMtzSJtDRywcp1/csfl7p8fwM7guqvP3yKiyKppwKoeIDGsOtQsXTOj/Arf7 6W39qbszzW7I7QAp9YBPS+QAsufStlxtMmxHEg91f41/cRa+6XgM+meqhsTtJu2IaAcD7t sw2KZoNMQoy8vPb3g1uLApSS6irAaiI= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Q+LVoXTk; spf=pass (imf18.hostedemail.com: domain of lkp@intel.com designates 198.175.65.15 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1738834322; x=1770370322; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ebn36sY7VM8LnTISOZn8OjLwV8d2NBTHyEeM0+XORdo=; b=Q+LVoXTkKjQEa3P4WbT8P0WFPbh1hf834U6xiwBxl9eLR62Zqzf5HCQF 3YlSFGZdve3nAv13wbNVaC0y93uvm1gtsoCtx8WpRt+5jRttZLKVnoAkW D+vYL6q/IOGTnZSiomOcZuzbLEz95+VvE0sHn43Ns2V6Y7sPUQfQ8um+i 5K6ymE52zqX2CroYrANDIURKJvYB0CNnBSdZAPJHS2P6h9qwd7bWPwRSP lUAzFZk2eYCbZp8KLMLTkC2aGkyn+9MWXQaQmDIc+wfAtPdFiA71BVm6L PXXj0MtO++2flYpq3q2AFVXGs5+fPkNDSyUMZo18oaucJ/boAR7NsmABe g==; X-CSE-ConnectionGUID: l784EF7zTTyPg624ONNZfg== X-CSE-MsgGUID: 0XdMot3aS5ygeVke/tYb+Q== X-IronPort-AV: E=McAfee;i="6700,10204,11336"; a="43090433" X-IronPort-AV: E=Sophos;i="6.13,264,1732608000"; d="scan'208";a="43090433" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2025 01:32:00 -0800 X-CSE-ConnectionGUID: rOxyr2INRNKjy6DjPbY1vQ== X-CSE-MsgGUID: MaJHPNCPSqiEYN89QW45yg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.13,264,1732608000"; d="scan'208";a="111126000" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by orviesa006.jf.intel.com with ESMTP; 06 Feb 2025 01:31:55 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tfyEi-000wgd-0M; Thu, 06 Feb 2025 09:31:52 +0000 Date: Thu, 6 Feb 2025 17:31:29 +0800 From: kernel test robot To: Uday Shankar , Breno Leitao , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Srinivas Kandagatla , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Simon Horman , Andrew Morton , Johannes Berg , Jonathan Corbet Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, Linux Memory Management List , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-doc@vger.kernel.org, Uday Shankar Subject: Re: [PATCH v2 1/2] net, treewide: define and use MAC_ADDR_LEN Message-ID: <202502061751.GNyqzMGp-lkp@intel.com> References: <20250204-netconsole-v2-1-5ef5eb5f6056@purestorage.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250204-netconsole-v2-1-5ef5eb5f6056@purestorage.com> X-Rspamd-Queue-Id: 1D5361C0033 X-Stat-Signature: 89b6iuyh653ow4rkssfbhfb835jd4bri X-Rspam-User: X-Rspamd-Server: rspam12 X-HE-Tag: 1738834321-513299 X-HE-Meta: U2FsdGVkX1+CIU+oCaBE2v9RC7NRkPyekAfym7p7A9pezCxpbuiqHWRKKLvvKdbC8cYAtJ6Z93fG2dHA2lHDTUZGN2MVH73GpOAfQCcpKXirBqHPWZttl0RR+gk5WeGKJpQOJMg7Mrn1+vXVO3yM8JDwCmP8RpM0B2v9g9u/c/09q+ZnvD3/Pu+SoQVmEXXj4wKgE5f4HtXr++QCKqcavrxZ0JsSt2SiF4fYR5O9EJg5oXYJylzIsvHAz2wi3qX7vQwXXDLfefweQF6GiSLGSZrMVHy4rjDodgbPJa7+bbf7uB/BgpfW+ar6DKkgtgKmfpinnDw67YlQLitvAGkkzt5yln5db0VGWyeixy8AycGta9smUwTDg8uTyRu8+Li8IeKcq+mbS7qiec9sx2gobdhCBb6A7MPfnZoeOHBFkeFS/Ku9eKpbLI1Fyoa04o9+yqQrP5L2QrmNWeoNilipBGFTsSgp2cCx9dkatGHWedVOKxxfEIzmMavy2AgsR1HnyZSQB+R7ms3CuJKmeJlsTzxqnCDJbIwkw3ijll+ZEmv4tOjL/FZ+07dFWJlyOwDenlAjfg6T/kaQ0wJTwYZBSOLNVsrEnutkbaPdFfrAPSKjVugmTGPCIfvjTtBZ4NiIZPEWOgE5yIjITor0TT7eokRKWkprUaIqV/BRDBTeCTWO5a/ZnjJWFfKjnHvGNAlgrsRmQp8U8LrreseTzTqfpwcDMWNt4rOcepgTCLxLQBuxeXX60CSHugfvg/kjJC6hhWxdkwTlWJDeeC14dPivS3C8PnazoNkdSGfqZR7Hs1IX2ZA4Smt16L0OcsEkU6ytcANhrhrxP72feqg0GzSyEouYIDOA+swN/VMKlJNJUQRxFW/6OYM8n/y0nrjVJa/0+LuxMRkqhYD22Dy9twOGGbNykJCB3LhuySWUGKlMhniQIr/Gi41epg93Q1oXjYrt1qDzbHJxw1FiCBIWFvw /CdYywN2 4dM3txDRwezpR//dPg4dqsoXVo525foPQ3nap0BIjHe7I95p9YTLfz3NW92rdi0LyBqA0wbtZ6tRCnhXBV3OqeOUg4lu0M6d0Qqb88Rl81WnNevI8JKsRbwpdp2sLlqmX3en1awMYwEgLkNzO9ywVdIKRB/ahSCdKGwcK+07Qp8E2hKzqZlhFSuo/HR+Secyg+7Vw4zohqxuxGzbrdARwWNvMAbeOXFvbmYLeWsqzaIhQ1YpK0siPSgE4mKTG3S93gF7bQH++9fEsW5O2qh7D5utlKKD4Zgo8KpCBu7TkR7vMCTOHeWVmuXwg22Bhp8wrPSb2mxYbTDnpxANkc40I714d+aNKM6uAnlIX8tX0TEri1PwsI+jWjb103c59gCSZ1keFBtQO+C0ql/yuHNHJcDjvVpbSLC1apKriwKviBlAXIwVYO6IHyl9+8L5fZH2vXR4RTwKhu9cJZ+0PGinpQjL3MinvYXev/VzI09cYSfOv4u3s/R0BXaj6Mi2m6Fx8SyCnj3GUUCf+lZo= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Uday, kernel test robot noticed the following build warnings: [auto build test WARNING on c2933b2befe25309f4c5cfbea0ca80909735fd76] url: https://github.com/intel-lab-lkp/linux/commits/Uday-Shankar/net-treewide-define-and-use-MAC_ADDR_LEN/20250205-054620 base: c2933b2befe25309f4c5cfbea0ca80909735fd76 patch link: https://lore.kernel.org/r/20250204-netconsole-v2-1-5ef5eb5f6056%40purestorage.com patch subject: [PATCH v2 1/2] net, treewide: define and use MAC_ADDR_LEN config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250206/202502061751.GNyqzMGp-lkp@intel.com/config) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250206/202502061751.GNyqzMGp-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/202502061751.GNyqzMGp-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/scsi/qla4xxx/ql4_os.c:8: In file included from include/linux/blkdev.h:9: In file included from include/linux/blk_types.h:10: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:8: In file included from include/linux/cacheflush.h:5: In file included from arch/x86/include/asm/cacheflush.h:5: In file included from include/linux/mm.h:2224: include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/scsi/qla4xxx/ql4_os.c:15: >> drivers/scsi/qla4xxx/ql4_def.h:148:9: warning: 'MAC_ADDR_LEN' macro redefined [-Wmacro-redefined] 148 | #define MAC_ADDR_LEN 6 /* in bytes */ | ^ include/linux/if_ether.h:23:9: note: previous definition is here 23 | #define MAC_ADDR_LEN (3 * ETH_ALEN - 1) | ^ 4 warnings generated. -- In file included from drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c:4: In file included from drivers/net/wireless/realtek/rtlwifi/rtl8188ee/../wifi.h:11: In file included from include/linux/etherdevice.h:20: In file included from include/linux/if_ether.h:19: In file included from include/linux/skbuff.h:17: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:8: In file included from include/linux/cacheflush.h:5: In file included from arch/x86/include/asm/cacheflush.h:5: In file included from include/linux/mm.h:2224: include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c:8: >> drivers/net/wireless/realtek/rtlwifi/rtl8188ee/reg.h:1230:9: warning: 'MAC_ADDR_LEN' macro redefined [-Wmacro-redefined] 1230 | #define MAC_ADDR_LEN 6 | ^ include/linux/if_ether.h:23:9: note: previous definition is here 23 | #define MAC_ADDR_LEN (3 * ETH_ALEN - 1) | ^ 4 warnings generated. -- In file included from drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c:4: In file included from drivers/net/wireless/realtek/rtlwifi/rtl8192ee/../wifi.h:11: In file included from include/linux/etherdevice.h:20: In file included from include/linux/if_ether.h:19: In file included from include/linux/skbuff.h:17: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:8: In file included from include/linux/cacheflush.h:5: In file included from arch/x86/include/asm/cacheflush.h:5: In file included from include/linux/mm.h:2224: include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/realtek/rtlwifi/rtl8192ee/dm.c:8: >> drivers/net/wireless/realtek/rtlwifi/rtl8192ee/reg.h:1192:9: warning: 'MAC_ADDR_LEN' macro redefined [-Wmacro-redefined] 1192 | #define MAC_ADDR_LEN 6 | ^ include/linux/if_ether.h:23:9: note: previous definition is here 23 | #define MAC_ADDR_LEN (3 * ETH_ALEN - 1) | ^ 4 warnings generated. -- In file included from drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c:4: In file included from drivers/net/wireless/realtek/rtlwifi/rtl8723ae/../wifi.h:11: In file included from include/linux/etherdevice.h:20: In file included from include/linux/if_ether.h:19: In file included from include/linux/skbuff.h:17: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:8: In file included from include/linux/cacheflush.h:5: In file included from arch/x86/include/asm/cacheflush.h:5: In file included from include/linux/mm.h:2224: include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/realtek/rtlwifi/rtl8723ae/dm.c:8: >> drivers/net/wireless/realtek/rtlwifi/rtl8723ae/reg.h:1194:9: warning: 'MAC_ADDR_LEN' macro redefined [-Wmacro-redefined] 1194 | #define MAC_ADDR_LEN 6 | ^ include/linux/if_ether.h:23:9: note: previous definition is here 23 | #define MAC_ADDR_LEN (3 * ETH_ALEN - 1) | ^ 4 warnings generated. -- In file included from drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c:4: In file included from drivers/net/wireless/realtek/rtlwifi/rtl8723be/../wifi.h:11: In file included from include/linux/etherdevice.h:20: In file included from include/linux/if_ether.h:19: In file included from include/linux/skbuff.h:17: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:8: In file included from include/linux/cacheflush.h:5: In file included from arch/x86/include/asm/cacheflush.h:5: In file included from include/linux/mm.h:2224: include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c:8: >> drivers/net/wireless/realtek/rtlwifi/rtl8723be/reg.h:1245:9: warning: 'MAC_ADDR_LEN' macro redefined [-Wmacro-redefined] 1245 | #define MAC_ADDR_LEN 6 | ^ include/linux/if_ether.h:23:9: note: previous definition is here 23 | #define MAC_ADDR_LEN (3 * ETH_ALEN - 1) | ^ 4 warnings generated. -- In file included from drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:4: In file included from drivers/net/wireless/realtek/rtlwifi/rtl8821ae/../wifi.h:11: In file included from include/linux/etherdevice.h:20: In file included from include/linux/if_ether.h:19: In file included from include/linux/skbuff.h:17: In file included from include/linux/bvec.h:10: In file included from include/linux/highmem.h:8: In file included from include/linux/cacheflush.h:5: In file included from arch/x86/include/asm/cacheflush.h:5: In file included from include/linux/mm.h:2224: include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 505 | item]; | ~~~~ include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 512 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 525 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:8: >> drivers/net/wireless/realtek/rtlwifi/rtl8821ae/reg.h:1274:9: warning: 'MAC_ADDR_LEN' macro redefined [-Wmacro-redefined] 1274 | #define MAC_ADDR_LEN 6 | ^ include/linux/if_ether.h:23:9: note: previous definition is here 23 | #define MAC_ADDR_LEN (3 * ETH_ALEN - 1) | ^ 4 warnings generated. vim +/MAC_ADDR_LEN +148 drivers/scsi/qla4xxx/ql4_def.h afaf5a2d341d33 David Somayajulu 2006-09-19 144 afaf5a2d341d33 David Somayajulu 2006-09-19 145 /* afaf5a2d341d33 David Somayajulu 2006-09-19 146 * Misc afaf5a2d341d33 David Somayajulu 2006-09-19 147 */ afaf5a2d341d33 David Somayajulu 2006-09-19 @148 #define MAC_ADDR_LEN 6 /* in bytes */ afaf5a2d341d33 David Somayajulu 2006-09-19 149 #define IP_ADDR_LEN 4 /* in bytes */ 2a49a78ed3c8d7 Vikas Chaudhary 2010-04-28 150 #define IPv6_ADDR_LEN 16 /* IPv6 address size */ afaf5a2d341d33 David Somayajulu 2006-09-19 151 #define DRIVER_NAME "qla4xxx" afaf5a2d341d33 David Somayajulu 2006-09-19 152 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki