* [char-misc:char-misc-testing 5/9] include/linux/moduleparam.h:24:9: error: expected ',' or ';' before 'static'
@ 2023-07-30 15:47 kernel test robot
2023-07-30 16:15 ` Greg Kroah-Hartman
0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2023-07-30 15:47 UTC (permalink / raw)
To: Tomas Winkler; +Cc: oe-kbuild-all, Greg Kroah-Hartman
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
head: 94e4fbf7c8756d824c51c04be3b58588d67411a4
commit: c8de1d2815aa6669b319d2d71401f35b68bb9aa9 [5/9] mei: gsc: add module description
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20230730/202307302340.4uDUBI3T-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230730/202307302340.4uDUBI3T-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/202307302340.4uDUBI3T-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/module.h:22,
from drivers/misc/mei/gsc-me.c:8:
>> include/linux/moduleparam.h:24:9: error: expected ',' or ';' before 'static'
24 | static const char __UNIQUE_ID(name)[] \
| ^~~~~~
include/linux/module.h:166:32: note: in expansion of macro '__MODULE_INFO'
166 | #define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info)
| ^~~~~~~~~~~~~
include/linux/module.h:183:25: note: in expansion of macro 'MODULE_INFO'
183 | #define MODULE_FILE MODULE_INFO(file, KBUILD_MODFILE);
| ^~~~~~~~~~~
include/linux/module.h:230:34: note: in expansion of macro 'MODULE_FILE'
230 | #define MODULE_LICENSE(_license) MODULE_FILE MODULE_INFO(license, _license)
| ^~~~~~~~~~~
drivers/misc/mei/gsc-me.c:316:1: note: in expansion of macro 'MODULE_LICENSE'
316 | MODULE_LICENSE("GPL");
| ^~~~~~~~~~~~~~
vim +24 include/linux/moduleparam.h
730b69d2252595 Rusty Russell 2008-10-22 22
^1da177e4c3f41 Linus Torvalds 2005-04-16 23 #define __MODULE_INFO(tag, name, info) \
34182eea36fc1d Rusty Russell 2012-11-22 @24 static const char __UNIQUE_ID(name)[] \
2aec389e19150e Johan Hovold 2020-11-23 25 __used __section(".modinfo") __aligned(1) \
898490c010b5d2 Alexey Gladkov 2019-04-29 26 = __MODULE_INFO_PREFIX __stringify(tag) "=" info
898490c010b5d2 Alexey Gladkov 2019-04-29 27
:::::: The code at line 24 was first introduced by commit
:::::: 34182eea36fc1d70d748b0947c873314980ba806 moduleparam: use __UNIQUE_ID()
:::::: TO: Rusty Russell <rusty@rustcorp.com.au>
:::::: CC: Rusty Russell <rusty@rustcorp.com.au>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [char-misc:char-misc-testing 5/9] include/linux/moduleparam.h:24:9: error: expected ',' or ';' before 'static'
2023-07-30 15:47 [char-misc:char-misc-testing 5/9] include/linux/moduleparam.h:24:9: error: expected ',' or ';' before 'static' kernel test robot
@ 2023-07-30 16:15 ` Greg Kroah-Hartman
2023-07-30 16:19 ` Greg Kroah-Hartman
0 siblings, 1 reply; 4+ messages in thread
From: Greg Kroah-Hartman @ 2023-07-30 16:15 UTC (permalink / raw)
To: kernel test robot, Tomas Winkler, oe-kbuild-all
On Sun, Jul 30, 2023 at 11:47:52PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
> head: 94e4fbf7c8756d824c51c04be3b58588d67411a4
> commit: c8de1d2815aa6669b319d2d71401f35b68bb9aa9 [5/9] mei: gsc: add module description
I'll go drop this as obviously it was not actually compiled by anyone :(
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [char-misc:char-misc-testing 5/9] include/linux/moduleparam.h:24:9: error: expected ',' or ';' before 'static'
2023-07-30 16:15 ` Greg Kroah-Hartman
@ 2023-07-30 16:19 ` Greg Kroah-Hartman
2023-07-30 17:46 ` Winkler, Tomas
0 siblings, 1 reply; 4+ messages in thread
From: Greg Kroah-Hartman @ 2023-07-30 16:19 UTC (permalink / raw)
To: kernel test robot, Tomas Winkler, oe-kbuild-all
On Sun, Jul 30, 2023 at 06:15:07PM +0200, Greg Kroah-Hartman wrote:
> On Sun, Jul 30, 2023 at 11:47:52PM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
> > head: 94e4fbf7c8756d824c51c04be3b58588d67411a4
> > commit: c8de1d2815aa6669b319d2d71401f35b68bb9aa9 [5/9] mei: gsc: add module description
>
> I'll go drop this as obviously it was not actually compiled by anyone :(
Nevermind, I fixed it up by hand...
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [char-misc:char-misc-testing 5/9] include/linux/moduleparam.h:24:9: error: expected ',' or ';' before 'static'
2023-07-30 16:19 ` Greg Kroah-Hartman
@ 2023-07-30 17:46 ` Winkler, Tomas
0 siblings, 0 replies; 4+ messages in thread
From: Winkler, Tomas @ 2023-07-30 17:46 UTC (permalink / raw)
To: Greg Kroah-Hartman, lkp, oe-kbuild-all@lists.linux.dev
> -----Original Message-----
> From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Sent: Sunday, July 30, 2023 7:20 PM
> To: lkp <lkp@intel.com>; Winkler, Tomas <tomas.winkler@intel.com>; oe-
> kbuild-all@lists.linux.dev
> Subject: Re: [char-misc:char-misc-testing 5/9]
> include/linux/moduleparam.h:24:9: error: expected ',' or ';' before 'static'
>
> On Sun, Jul 30, 2023 at 06:15:07PM +0200, Greg Kroah-Hartman wrote:
> > On Sun, Jul 30, 2023 at 11:47:52PM +0800, kernel test robot wrote:
> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-
> misc.git char-misc-testing
> > > head: 94e4fbf7c8756d824c51c04be3b58588d67411a4
> > > commit: c8de1d2815aa6669b319d2d71401f35b68bb9aa9 [5/9] mei: gsc:
> add module description
> >
> > I'll go drop this as obviously it was not actually compiled by anyone :(
>
> Nevermind, I fixed it up by hand...
Thanks, sorry for the mess.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-30 17:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-30 15:47 [char-misc:char-misc-testing 5/9] include/linux/moduleparam.h:24:9: error: expected ',' or ';' before 'static' kernel test robot
2023-07-30 16:15 ` Greg Kroah-Hartman
2023-07-30 16:19 ` Greg Kroah-Hartman
2023-07-30 17:46 ` Winkler, Tomas
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.