lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202505071639.PQ4TVkSG-lkp@intel.com>
Date: Wed, 7 May 2025 17:29:16 +0800
From: kernel test robot <lkp@...el.com>
To: Brahmajit Das <brahmajit.xyz@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev, bp@...en8.de,
	dave.hansen@...ux.intel.com, linux-kernel@...r.kernel.org,
	pawan.kumar.gupta@...ux.intel.com, tony.luck@...el.com
Subject: Re: [PATCH v2 1/1] regulator: hi6421v530: fix building with GCC 15

Hi Brahmajit,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.15-rc5 next-20250506]
[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/20250416-211351
base:   linus/master
patch link:    https://lore.kernel.org/r/20250416121305.13469-1-listout%40listout.xyz
patch subject: [PATCH v2 1/1] regulator: hi6421v530: fix building with GCC 15
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20250507/202505071639.PQ4TVkSG-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250507/202505071639.PQ4TVkSG-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/202505071639.PQ4TVkSG-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from scripts/mod/file2alias.c:123:
>> scripts/mod/../../include/linux/mod_devicetable.h:608:39: error: expected ':', ',', ';', '}' or '__attribute__' before '__nonstring'
     608 |         char name[PLATFORM_NAME_SIZE] __nonstring;
         |                                       ^~~~~~~~~~~
   scripts/mod/file2alias.c: In function 'do_platform_entry':
>> scripts/mod/file2alias.c:143:35: error: 'struct platform_device_id' has no member named 'name'
     143 |         typeof(((struct devid *)0)->f) *f = ((m) + OFF_##devid##_##f)
         |                                   ^~
   scripts/mod/file2alias.c:932:9: note: in expansion of macro 'DEF_FIELD_ADDR'
     932 |         DEF_FIELD_ADDR(symval, platform_device_id, name);
         |         ^~~~~~~~~~~~~~
   scripts/mod/../../include/linux/mod_devicetable.h:605:33: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=]
     605 | #define PLATFORM_MODULE_PREFIX  "platform:"
         |                                 ^~~~~~~~~~~
   scripts/mod/file2alias.c:934:41: note: in expansion of macro 'PLATFORM_MODULE_PREFIX'
     934 |         module_alias_printf(mod, false, PLATFORM_MODULE_PREFIX "%s", *name);
         |                                         ^~~~~~~~~~~~~~~~~~~~~~
   scripts/mod/file2alias.c:934:66: note: format string is defined here
     934 |         module_alias_printf(mod, false, PLATFORM_MODULE_PREFIX "%s", *name);
         |                                                                 ~^
         |                                                                  |
         |                                                                  char *
         |                                                                 %d
   make[3]: *** [scripts/Makefile.host:131: scripts/mod/file2alias.o] Error 1
   make[3]: Target 'scripts/mod/' not remade because of errors.
   make[2]: *** [Makefile:1279: prepare0] Error 2
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:248: __sub-make] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +608 scripts/mod/../../include/linux/mod_devicetable.h

   606	
   607	struct platform_device_id {
 > 608		char name[PLATFORM_NAME_SIZE] __nonstring;
   609		kernel_ulong_t driver_data;
   610	};
   611	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ