Re: [PATCH v4 3/5] mfd: hi655x: Add hi665x pmic driver
From: kbuild test robot
Date: Mon Jan 04 2016 - 13:46:11 EST
Hi Chen,
[auto build test ERROR on v4.4-rc8]
[also build test ERROR on next-20160104]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Chen-Feng/Add-Support-for-Hi6220-PMIC-Hi6553-MFD-Core/20160104-203635
config: tile-allmodconfig (attached as .config)
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=tile
All error/warnings (new ones prefixed by >>):
>> drivers/mfd/hi655x-pmic.c:156:1: warning: data definition has no type or storage class [enabled by default]
>> drivers/mfd/hi655x-pmic.c:156:1: error: type defaults to 'int' in declaration of 'module_init'
>> drivers/mfd/hi655x-pmic.c:156:1: warning: parameter names (without types) in function declaration [enabled by default]
>> drivers/mfd/hi655x-pmic.c:156:1: warning: data definition has no type or storage class [enabled by default]
>> drivers/mfd/hi655x-pmic.c:156:1: error: type defaults to 'int' in declaration of 'module_exit'
>> drivers/mfd/hi655x-pmic.c:156:1: warning: parameter names (without types) in function declaration [enabled by default]
>> drivers/mfd/hi655x-pmic.c:158:15: error: expected declaration specifiers or '...' before string constant
drivers/mfd/hi655x-pmic.c:159:20: error: expected declaration specifiers or '...' before string constant
drivers/mfd/hi655x-pmic.c:160:16: error: expected declaration specifiers or '...' before string constant
drivers/mfd/hi655x-pmic.c:156:1: warning: 'hi655x_pmic_driver_init' defined but not used
drivers/mfd/hi655x-pmic.c:156:1: warning: 'hi655x_pmic_driver_exit' defined but not used
cc1: some warnings being treated as errors
vim +156 drivers/mfd/hi655x-pmic.c
150 .driver = {
151 .name = "hi655x-pmic",
152 .of_match_table = of_hi655x_pmic_match_tbl,
153 },
154 .probe = hi655x_pmic_probe,
155 };
> 156 module_platform_driver(hi655x_pmic_driver);
157
> 158 MODULE_AUTHOR("Chen Feng <puck.chen@xxxxxxxxxxxxx>");
159 MODULE_DESCRIPTION("Hisi hi655x pmic driver");
160 MODULE_LICENSE("GPL v2");
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data