[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202511250103.RMNoU3xH-lkp@intel.com>
Date: Tue, 25 Nov 2025 01:48:24 +0800
From: kernel test robot <lkp@...el.com>
To: Jean-Michel Hautbois <jeanmichel.hautbois@...eli.org>,
Greg Ungerer <gerg@...ux-m68k.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Olivia Mackall <olivia@...enic.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-m68k@...ts.linux-m68k.org,
linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
imx@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
Jean-Michel Hautbois <jeanmichel.hautbois@...eli.org>,
Frank Li <Frank.Li@....com>
Subject: Re: [PATCH v3 1/3] m68k: coldfire: Mark platform device resource
arrays as const
Hi Jean-Michel,
kernel test robot noticed the following build warnings:
[auto build test WARNING on ac3fd01e4c1efce8f2c054cdeb2ddd2fc0fb150d]
url: https://github.com/intel-lab-lkp/linux/commits/Jean-Michel-Hautbois/m68k-coldfire-Mark-platform-device-resource-arrays-as-const/20251124-210737
base: ac3fd01e4c1efce8f2c054cdeb2ddd2fc0fb150d
patch link: https://lore.kernel.org/r/20251124-b4-m5441x-add-rng-support-v3-1-f447251dad27%40yoseli.org
patch subject: [PATCH v3 1/3] m68k: coldfire: Mark platform device resource arrays as const
config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20251125/202511250103.RMNoU3xH-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251125/202511250103.RMNoU3xH-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/202511250103.RMNoU3xH-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/m68k/coldfire/device.c:141:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
141 | .resource = mcf_fec0_resources,
| ^~~~~~~~~~~~~~~~~~
vim +/const +141 arch/m68k/coldfire/device.c
b7ce7f0d0efc1a arch/m68k/platform/coldfire/device.c Greg Ungerer 2011-12-24 136
b7ce7f0d0efc1a arch/m68k/platform/coldfire/device.c Greg Ungerer 2011-12-24 137 static struct platform_device mcf_fec0 = {
bea8bcb12da09b arch/m68k/platform/coldfire/device.c Steven King 2012-06-06 138 .name = FEC_NAME,
b7ce7f0d0efc1a arch/m68k/platform/coldfire/device.c Greg Ungerer 2011-12-24 139 .id = 0,
b7ce7f0d0efc1a arch/m68k/platform/coldfire/device.c Greg Ungerer 2011-12-24 140 .num_resources = ARRAY_SIZE(mcf_fec0_resources),
b7ce7f0d0efc1a arch/m68k/platform/coldfire/device.c Greg Ungerer 2011-12-24 @141 .resource = mcf_fec0_resources,
f61e64310b7573 arch/m68k/coldfire/device.c Greg Ungerer 2018-03-28 142 .dev = {
f61e64310b7573 arch/m68k/coldfire/device.c Greg Ungerer 2018-03-28 143 .dma_mask = &mcf_fec0.dev.coherent_dma_mask,
f61e64310b7573 arch/m68k/coldfire/device.c Greg Ungerer 2018-03-28 144 .coherent_dma_mask = DMA_BIT_MASK(32),
f61e64310b7573 arch/m68k/coldfire/device.c Greg Ungerer 2018-03-28 145 .platform_data = FEC_PDATA,
f61e64310b7573 arch/m68k/coldfire/device.c Greg Ungerer 2018-03-28 146 }
b7ce7f0d0efc1a arch/m68k/platform/coldfire/device.c Greg Ungerer 2011-12-24 147 };
63a24cf8cc330e arch/m68k/coldfire/device.c Antonio Quartulli 2024-10-29 148 #endif /* MCFFEC_BASE0 */
b7ce7f0d0efc1a arch/m68k/platform/coldfire/device.c Greg Ungerer 2011-12-24 149
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists