Thread (47 messages) 47 messages, 8 authors, 2017-07-20

Re: [PATCH v1 1/3] mfd: Add new mfd device TPS68470

From: kbuild test robot <hidden>
Date: 2017-06-07 10:07:56
Also in: linux-acpi, lkml

Hi Rajmohan,

[auto build test ERROR on ljones-mfd/for-mfd-next]
[also build test ERROR on v4.12-rc4 next-20170607]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Rajmohan-Mani/mfd-Add-new-mfd-device-TPS68470/20170607-080306
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

All error/warnings (new ones prefixed by >>):
quoted
drivers/mfd/tps68470.c:217:1: warning: data definition has no type or storage class
    MODULE_DEVICE_TABLE(acpi, tps68470_acpi_ids);
    ^~~~~~~~~~~~~~~~~~~
quoted
drivers/mfd/tps68470.c:217:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
drivers/mfd/tps68470.c:217:1: warning: parameter names (without types) in function declaration
   drivers/mfd/tps68470.c: In function 'tps68470_probe':
   drivers/mfd/tps68470.c:175:3: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
      dev_err(tps->dev, "devm_regmap_init_i2c Error %d\n", ret);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +217 drivers/mfd/tps68470.c

   211	
   212	static const struct acpi_device_id tps68470_acpi_ids[] = {
   213		{"INT3472"},
   214		{},
   215	};
   216	
 > 217	MODULE_DEVICE_TABLE(acpi, tps68470_acpi_ids);
   218	
   219	static struct i2c_driver tps68470_driver = {
   220		.driver = {

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help