lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 30 Oct 2016 14:12:13 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Joel Holdsworth <joel@...webreathe.org.uk>
Cc:     kbuild-all@...org, atull@...nsource.altera.com,
        moritz.fischer@...us.com, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org,
        Joel Holdsworth <joel@...webreathe.org.uk>
Subject: Re: [PATCH v4 2/2] fpga: Add support for Lattice iCE40 FPGAs

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: openrisc-allmodconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   drivers/fpga/ice40-spi.c:203:1: warning: data definition has no type or storage class
   drivers/fpga/ice40-spi.c:203:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE'
   drivers/fpga/ice40-spi.c:203:1: warning: parameter names (without types) in function declaration
   drivers/fpga/ice40-spi.c:215:1: warning: data definition has no type or storage class
   drivers/fpga/ice40-spi.c:215:1: error: type defaults to 'int' in declaration of 'module_init'
   drivers/fpga/ice40-spi.c:215:1: warning: parameter names (without types) in function declaration
   drivers/fpga/ice40-spi.c:215:1: warning: data definition has no type or storage class
   drivers/fpga/ice40-spi.c:215:1: error: type defaults to 'int' in declaration of 'module_exit'
   drivers/fpga/ice40-spi.c:215:1: warning: parameter names (without types) in function declaration
   drivers/fpga/ice40-spi.c:217:15: error: expected declaration specifiers or '...' before string constant
   drivers/fpga/ice40-spi.c:217:1: warning: data definition has no type or storage class
>> drivers/fpga/ice40-spi.c:217:1: error: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
>> drivers/fpga/ice40-spi.c:217:15: error: function declaration isn't a prototype
   drivers/fpga/ice40-spi.c:218:20: error: expected declaration specifiers or '...' before string constant
   drivers/fpga/ice40-spi.c:218:1: warning: data definition has no type or storage class
>> drivers/fpga/ice40-spi.c:218:1: error: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
   drivers/fpga/ice40-spi.c:218:20: error: function declaration isn't a prototype
   drivers/fpga/ice40-spi.c:219:16: error: expected declaration specifiers or '...' before string constant
   drivers/fpga/ice40-spi.c:219:1: warning: data definition has no type or storage class
>> drivers/fpga/ice40-spi.c:219:1: error: type defaults to 'int' in declaration of 'MODULE_LICENSE'
   drivers/fpga/ice40-spi.c:219:16: error: function declaration isn't a prototype
   drivers/fpga/ice40-spi.c:215:1: warning: 'ice40_fpga_driver_init' defined but not used
   drivers/fpga/ice40-spi.c:215:1: warning: 'ice40_fpga_driver_exit' defined but not used

vim +217 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@...webreathe.org.uk>");
 > 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

Download attachment ".config.gz" of type "application/gzip" (39284 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ