All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android15-6.6 2/2] drivers/pmdomain/imx/gpc.c:228:4: warning: initializer-string for character array is too long, array size is 20 but initializer has size 21 (including the null terminating character); did you mean to use the 'nonstring' attribute?
@ 2025-12-13  4:41 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-13  4:41 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

Hi Ulf,

First bad commit (maybe != root cause):

tree:   https://android.googlesource.com/kernel/common android15-6.6
head:   5580efd2c7e4791254a0c26f9791aaa33dd70484
commit: e2ad626f8f409899baf1bf192d0533a851128b19 [2/2] pmdomain: Rename the genpd subsystem to pmdomain
config: arm-randconfig-003-20251213 (https://download.01.org/0day-ci/archive/20251213/202512131250.bFrB71fp-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 1335a05ab8bc8339ce24be3a9da89d8c3f4e0571)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512131250.bFrB71fp-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/202512131250.bFrB71fp-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/pmdomain/imx/gpc.c:14:
   In file included from include/linux/regulator/consumer.h:35:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:20:
   In file included from include/linux/mm.h:2168:
   include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     522 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
>> drivers/pmdomain/imx/gpc.c:228:4: warning: initializer-string for character array is too long, array size is 20 but initializer has size 21 (including the null terminating character); did you mean to use the 'nonstring' attribute? [-Wunterminated-string-initialization]
     228 |         { "imx-pgc-power-domain"},
         |           ^~~~~~~~~~~~~~~~~~~~~~
   2 warnings generated.


vim +/nonstring +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-12-13  4:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-13  4:41 [android-common:android15-6.6 2/2] drivers/pmdomain/imx/gpc.c:228:4: warning: initializer-string for character array is too long, array size is 20 but initializer has size 21 (including the null terminating character); did you mean to use the 'nonstring' attribute? 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.