All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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.