[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202511091804.XUQA4dOK-lkp@intel.com>
Date: Sun, 9 Nov 2025 18:43:46 +0800
From: kernel test robot <lkp@...el.com>
To: Alejandro Colomar <alx@...nel.org>, linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, Alejandro Colomar <alx@...nel.org>,
Kees Cook <kees@...nel.org>,
Christopher Bazley <chris.bazley.wg14@...il.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Marco Elver <elver@...gle.com>, Michal Hocko <mhocko@...e.com>,
Al Viro <viro@...iv.linux.org.uk>,
Alexander Potapenko <glider@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>, Jann Horn <jannh@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>
Subject: Re: [PATCH v2 1/4] array_size.h: Add ARRAY_END()
Hi Alejandro,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 6146a0f1dfae5d37442a9ddcba012add260bceb0]
url: https://github.com/intel-lab-lkp/linux/commits/Alejandro-Colomar/array_size-h-Add-ARRAY_END/20251109-062234
base: 6146a0f1dfae5d37442a9ddcba012add260bceb0
patch link: https://lore.kernel.org/r/35255c1ceb54518779a45351dcd79a3c1910818a.1762637046.git.alx%40kernel.org
patch subject: [PATCH v2 1/4] array_size.h: Add ARRAY_END()
config: alpha-defconfig (https://download.01.org/0day-ci/archive/20251109/202511091804.XUQA4dOK-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251109/202511091804.XUQA4dOK-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511091804.XUQA4dOK-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/block/floppy.c:4805:9: warning: 'ARRAY_END' redefined
4805 | #define ARRAY_END(X) (&((X)[ARRAY_SIZE(X)]))
| ^~~~~~~~~
In file included from include/linux/string.h:6,
from include/linux/bitmap.h:13,
from include/linux/nodemask.h:91,
from include/linux/numa.h:6,
from include/linux/async.h:13,
from drivers/block/floppy.c:166:
include/linux/array_size.h:17:9: note: this is the location of the previous definition
17 | #define ARRAY_END(a) (a + ARRAY_SIZE(a))
| ^~~~~~~~~
vim +/ARRAY_END +4805 drivers/block/floppy.c
5a74db06cc8d36 Philippe De Muyter 2009-02-18 4804
5a74db06cc8d36 Philippe De Muyter 2009-02-18 @4805 #define ARRAY_END(X) (&((X)[ARRAY_SIZE(X)]))
5a74db06cc8d36 Philippe De Muyter 2009-02-18 4806
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists