From: kernel test robot <lkp@intel.com>
To: Brahmajit Das <brahmajit.xyz@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, bp@alien8.de,
dave.hansen@linux.intel.com, linux-kernel@vger.kernel.org,
pawan.kumar.gupta@linux.intel.com, tony.luck@intel.com
Subject: Re: [PATCH v2 1/1] regulator: hi6421v530: fix building with GCC 15
Date: Wed, 7 May 2025 17:29:16 +0800 [thread overview]
Message-ID: <202505071639.PQ4TVkSG-lkp@intel.com> (raw)
In-Reply-To: <20250416121305.13469-1-listout@listout.xyz>
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@intel.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
prev parent reply other threads:[~2025-05-07 9:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-15 11:14 [PATCH 1/1] regulator: hi6421v530: fix building with GCC 15 Brahmajit Das
2025-04-16 10:41 ` kernel test robot
2025-04-16 11:23 ` kernel test robot
2025-04-16 12:13 ` [PATCH v2 " Brahmajit Das
2025-05-07 9:29 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202505071639.PQ4TVkSG-lkp@intel.com \
--to=lkp@intel.com \
--cc=bp@alien8.de \
--cc=brahmajit.xyz@gmail.com \
--cc=dave.hansen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pawan.kumar.gupta@linux.intel.com \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox