Re: [PATCH 1/1] regulator: hi6421v530: fix building with GCC 15
From: kernel test robot
Date: Wed Apr 16 2025 - 06:42:53 EST
Hi Brahmajit,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.15-rc2 next-20250416]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Brahmajit-Das/regulator-hi6421v530-fix-building-with-GCC-15/20250415-191555
base: linus/master
patch link: https://lore.kernel.org/r/20250415111411.6331-1-listout%40listout.xyz
patch subject: [PATCH 1/1] regulator: hi6421v530: fix building with GCC 15
config: hexagon-randconfig-001-20250416 (https://download.01.org/0day-ci/archive/20250416/202504161823.huZUOtmg-lkp@xxxxxxxxx/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250416/202504161823.huZUOtmg-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504161823.huZUOtmg-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
scripts/kernel-doc: 1: kernel-doc.py: not found
make[3]: *** [scripts/Makefile.build:203: scripts/mod/empty.o] Error 127 shuffle=4166761562
make[3]: *** Deleting file 'scripts/mod/empty.o'
In file included from scripts/mod/devicetable-offsets.c:3:
>> include/linux/mod_devicetable.h:608:47: warning: unknown attribute 'nonstring' ignored [-Wunknown-attributes]
608 | char name[PLATFORM_NAME_SIZE] __attribute__((nonstring));
| ^~~~~~~~~
1 warning generated.
make[3]: Target 'scripts/mod/' not remade because of errors.
make[2]: *** [Makefile:1279: prepare0] Error 2 shuffle=4166761562
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=4166761562
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2 shuffle=4166761562
make: Target 'prepare' not remade because of errors.
vim +/nonstring +608 include/linux/mod_devicetable.h
606
607 struct platform_device_id {
> 608 char name[PLATFORM_NAME_SIZE] __attribute__((nonstring));
609 kernel_ulong_t driver_data;
610 };
611
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki