linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Joel Holdsworth <joel-IJEoVVyKhCJXvIrf17iDB/XRex20P6io@public.gmane.org>
Cc: kbuild-all-JC7UmRfGjtg@public.gmane.org,
	atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org,
	moritz.fischer-+aYTwkv1SeIAvxtiuMwx3w@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Joel Holdsworth
	<joel-IJEoVVyKhCJXvIrf17iDB/XRex20P6io@public.gmane.org>
Subject: Re: [PATCH v4 2/2] fpga: Add support for Lattice iCE40 FPGAs
Date: Sun, 30 Oct 2016 10:27:12 +0800	[thread overview]
Message-ID: <201610301020.EvPD0EV0%fengguang.wu@intel.com> (raw)
In-Reply-To: <1477776746-3678-2-git-send-email-joel-IJEoVVyKhCJXvIrf17iDB/XRex20P6io@public.gmane.org>

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

Hi Joel,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.9-rc3 next-20161028]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Joel-Holdsworth/of-Add-vendor-prefix-for-Lattice-Semiconductor/20161030-053525
config: i386-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/fpga/ice40-spi.c:203:1: warning: data definition has no type or storage class
    MODULE_DEVICE_TABLE(of, ice40_fpga_of_match);
    ^~~~~~~~~~~~~~~~~~~
>> drivers/fpga/ice40-spi.c:203:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
   drivers/fpga/ice40-spi.c:203:1: warning: parameter names (without types) in function declaration
   drivers/fpga/ice40-spi.c:215:229: warning: data definition has no type or storage class
    module_spi_driver(ice40_fpga_driver);
                                                                                                                                                                                                                                        ^          
   drivers/fpga/ice40-spi.c:215:229: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
   drivers/fpga/ice40-spi.c:215:191: warning: parameter names (without types) in function declaration
    module_spi_driver(ice40_fpga_driver);
                                                                                                                                                                                                  ^     
   drivers/fpga/ice40-spi.c:215:492: warning: data definition has no type or storage class
    module_spi_driver(ice40_fpga_driver);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ^          
   drivers/fpga/ice40-spi.c:215:492: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
   drivers/fpga/ice40-spi.c:215:191: warning: parameter names (without types) in function declaration
    module_spi_driver(ice40_fpga_driver);
                                                                                                                                                                                                  ^     
>> drivers/fpga/ice40-spi.c:217:15: error: expected declaration specifiers or '...' before string constant
    MODULE_AUTHOR("Joel Holdsworth <joel-IJEoVVyKhCJXvIrf17iDB/XRex20P6io@public.gmane.org>");
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/fpga/ice40-spi.c:218:20: error: expected declaration specifiers or '...' before string constant
    MODULE_DESCRIPTION("Lattice iCE40 FPGA Manager");
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/fpga/ice40-spi.c:219:16: error: expected declaration specifiers or '...' before string constant
    MODULE_LICENSE("GPL v2");
                   ^~~~~~~~
   drivers/fpga/ice40-spi.c:215:122: warning: 'ice40_fpga_driver_init' defined but not used [-Wunused-function]
    module_spi_driver(ice40_fpga_driver);
                                                                                                                             ^
    
                                                                                                                              
   cc1: some warnings being treated as errors

vim +203 drivers/fpga/ice40-spi.c

   197	
   198	#ifdef CONFIG_OF
   199	static const struct of_device_id ice40_fpga_of_match[] = {
   200		{ .compatible = "lattice,ice40-fpga-mgr", },
   201		{},
   202	};
 > 203	MODULE_DEVICE_TABLE(of, ice40_fpga_of_match);
   204	#endif
   205	
   206	static struct spi_driver ice40_fpga_driver = {
   207		.probe = ice40_fpga_probe,
   208		.remove = ice40_fpga_remove,
   209		.driver = {
   210			.name = "ice40spi",
   211			.of_match_table = of_match_ptr(ice40_fpga_of_match),
   212		},
   213	};
   214	
 > 215	module_spi_driver(ice40_fpga_driver);
   216	
 > 217	MODULE_AUTHOR("Joel Holdsworth <joel-IJEoVVyKhCJXvIrf17iDB/XRex20P6io@public.gmane.org>");
   218	MODULE_DESCRIPTION("Lattice iCE40 FPGA Manager");
   219	MODULE_LICENSE("GPL v2");

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 56218 bytes --]

  parent reply	other threads:[~2016-10-30  2:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-29 21:32 [PATCH v4 1/2] of: Add vendor prefix for Lattice Semiconductor Joel Holdsworth
2016-10-29 21:32 ` [PATCH v4 2/2] fpga: Add support for Lattice iCE40 FPGAs Joel Holdsworth
     [not found]   ` <1477776746-3678-2-git-send-email-joel-IJEoVVyKhCJXvIrf17iDB/XRex20P6io@public.gmane.org>
2016-10-30  2:27     ` kbuild test robot [this message]
2016-10-30 19:25     ` Geert Uytterhoeven
     [not found]       ` <CAMuHMdWJYrUp2Bqh6PW7KCEv16HYpvKXG9dAQBjfw+pMxDQd_A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-30 21:34         ` Joel Holdsworth
2016-10-31  6:33     ` Rob Herring
2016-10-31 16:58       ` Joel Holdsworth
     [not found]         ` <f3c6dac1-bf10-c945-3e8a-9146e07253fd-IJEoVVyKhCJXvIrf17iDB/XRex20P6io@public.gmane.org>
2016-10-31 17:04           ` Moritz Fischer
2016-10-31 21:22         ` Rob Herring
2016-10-30  2:50   ` kbuild test robot
2016-10-30  6:12   ` kbuild test robot
2016-10-31  6:29 ` [PATCH v4 1/2] of: Add vendor prefix for Lattice Semiconductor Rob Herring
2016-11-18 18:59 ` atull
2016-11-18 19:17   ` Moritz Fischer

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=201610301020.EvPD0EV0%fengguang.wu@intel.com \
    --to=lkp-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=atull-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=joel-IJEoVVyKhCJXvIrf17iDB/XRex20P6io@public.gmane.org \
    --cc=kbuild-all-JC7UmRfGjtg@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=moritz.fischer-+aYTwkv1SeIAvxtiuMwx3w@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).