All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android15-6.6-2025-06 2/2] drivers/pmdomain/imx/gpc.c:228:11: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (21 chars into 20 available)
@ 2025-07-27 10:44 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-27 10:44 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

Hi Ulf,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://android.googlesource.com/kernel/common android15-6.6-2025-06
head:   219982f95faa822f6c76ba60e2c7629536e3e7dd
commit: e2ad626f8f409899baf1bf192d0533a851128b19 [2/2] pmdomain: Rename the genpd subsystem to pmdomain
config: arm-multi_v7_defconfig (https://download.01.org/0day-ci/archive/20250727/202507271208.UyiTyid3-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250727/202507271208.UyiTyid3-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/202507271208.UyiTyid3-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/pmdomain/imx/gpc.c:228:11: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (21 chars into 20 available) [-Wunterminated-string-initialization]
     228 |         { "imx-pgc-power-domain"},
         |           ^~~~~~~~~~~~~~~~~~~~~~


vim +228 drivers/pmdomain/imx/gpc.c

721cabf6c6600d drivers/soc/imx/gpc.c Lucas Stach 2017-02-17  226  
721cabf6c6600d drivers/soc/imx/gpc.c Lucas Stach 2017-02-17  227  static const struct platform_device_id imx_pgc_power_domain_id[] = {
721cabf6c6600d drivers/soc/imx/gpc.c Lucas Stach 2017-02-17 @228  	{ "imx-pgc-power-domain"},
721cabf6c6600d drivers/soc/imx/gpc.c Lucas Stach 2017-02-17  229  	{ },
721cabf6c6600d drivers/soc/imx/gpc.c Lucas Stach 2017-02-17  230  };
721cabf6c6600d drivers/soc/imx/gpc.c Lucas Stach 2017-02-17  231  

:::::: The code at line 228 was first introduced by commit
:::::: 721cabf6c6600dbe689ee2782bc087270e97e652 soc: imx: move PGC handling to a new GPC driver

:::::: TO: Lucas Stach <l.stach@pengutronix.de>
:::::: CC: Shawn Guo <shawnguo@kernel.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-07-27 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-27 10:44 [android-common:android15-6.6-2025-06 2/2] drivers/pmdomain/imx/gpc.c:228:11: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (21 chars into 20 available) kernel test robot

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.