All of lore.kernel.org
 help / color / mirror / Atom feed
* [mingo-tip:sched/headers 2037/2375] drivers/video/console/newport_con.c:746:1: warning: data definition has no type or storage class
@ 2022-01-08 17:11 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-08 17:11 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3239 bytes --]

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   351ceeab2ef96ab2fc306934ddb201b44636181b
commit: 54c5029d29aefc6e1cdd9ce1650822a5a4e1105a [2037/2375] headers/deps: dev/core: Optimize <linux/device.h> dependencies, remove <linux/device_api.h> inclusion
config: mips-buildonly-randconfig-r003-20220108 (https://download.01.org/0day-ci/archive/20220109/202201090153.UNw6LldM-lkp(a)intel.com/config)
compiler: mips-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=54c5029d29aefc6e1cdd9ce1650822a5a4e1105a
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout 54c5029d29aefc6e1cdd9ce1650822a5a4e1105a
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash drivers/video/console/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/video/console/newport_con.c:746:1: warning: data definition has no type or storage class
     746 | module_driver(newport_driver, gio_register_driver, gio_unregister_driver);
         | ^~~~~~~~~~~~~
   drivers/video/console/newport_con.c:746:1: error: type defaults to 'int' in declaration of 'module_driver' [-Werror=implicit-int]
>> drivers/video/console/newport_con.c:746:1: warning: parameter names (without types) in function declaration
   drivers/video/console/newport_con.c:740:26: warning: 'newport_driver' defined but not used [-Wunused-variable]
     740 | static struct gio_driver newport_driver = {
         |                          ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +746 drivers/video/console/newport_con.c

e84de0c6190503 Thomas Bogendoerfer 2011-11-22  739  
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  740  static struct gio_driver newport_driver = {
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  741  	.name = "newport",
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  742  	.id_table = newport_ids,
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  743  	.probe = newport_probe,
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  744  	.remove = newport_remove,
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  745  };
9b07655c7740a9 Jiri Slaby          2020-08-18 @746  module_driver(newport_driver, gio_register_driver, gio_unregister_driver);
^1da177e4c3f41 Linus Torvalds      2005-04-16  747  

:::::: The code at line 746 was first introduced by commit
:::::: 9b07655c7740a97b918ebe7dc59447e29e22a957 newport_con: make module's init & exit static using module_driver

:::::: TO: Jiri Slaby <jslaby@suse.cz>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [mingo-tip:sched/headers 2037/2375] drivers/video/console/newport_con.c:746:1: warning: data definition has no type or storage class
@ 2022-01-08 17:11 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-08 17:11 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: kbuild-all, linux-kernel

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   351ceeab2ef96ab2fc306934ddb201b44636181b
commit: 54c5029d29aefc6e1cdd9ce1650822a5a4e1105a [2037/2375] headers/deps: dev/core: Optimize <linux/device.h> dependencies, remove <linux/device_api.h> inclusion
config: mips-buildonly-randconfig-r003-20220108 (https://download.01.org/0day-ci/archive/20220109/202201090153.UNw6LldM-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=54c5029d29aefc6e1cdd9ce1650822a5a4e1105a
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout 54c5029d29aefc6e1cdd9ce1650822a5a4e1105a
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash drivers/video/console/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/video/console/newport_con.c:746:1: warning: data definition has no type or storage class
     746 | module_driver(newport_driver, gio_register_driver, gio_unregister_driver);
         | ^~~~~~~~~~~~~
   drivers/video/console/newport_con.c:746:1: error: type defaults to 'int' in declaration of 'module_driver' [-Werror=implicit-int]
>> drivers/video/console/newport_con.c:746:1: warning: parameter names (without types) in function declaration
   drivers/video/console/newport_con.c:740:26: warning: 'newport_driver' defined but not used [-Wunused-variable]
     740 | static struct gio_driver newport_driver = {
         |                          ^~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +746 drivers/video/console/newport_con.c

e84de0c6190503 Thomas Bogendoerfer 2011-11-22  739  
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  740  static struct gio_driver newport_driver = {
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  741  	.name = "newport",
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  742  	.id_table = newport_ids,
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  743  	.probe = newport_probe,
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  744  	.remove = newport_remove,
e84de0c6190503 Thomas Bogendoerfer 2011-11-22  745  };
9b07655c7740a9 Jiri Slaby          2020-08-18 @746  module_driver(newport_driver, gio_register_driver, gio_unregister_driver);
^1da177e4c3f41 Linus Torvalds      2005-04-16  747  

:::::: The code at line 746 was first introduced by commit
:::::: 9b07655c7740a97b918ebe7dc59447e29e22a957 newport_con: make module's init & exit static using module_driver

:::::: TO: Jiri Slaby <jslaby@suse.cz>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-08 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-08 17:11 [mingo-tip:sched/headers 2037/2375] drivers/video/console/newport_con.c:746:1: warning: data definition has no type or storage class kernel test robot
2022-01-08 17:11 ` kernel test robot

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.