Re: [PATCH v2] device property: don't bother the drivers with struct property_set

From: kbuild test robot
Date: Tue Mar 29 2016 - 07:00:46 EST


Hi Heikki,

[auto build test ERROR on ljones-mfd/for-mfd-next]
[also build test ERROR on v4.6-rc1 next-20160329]
[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/Heikki-Krogerus/device-property-don-t-bother-the-drivers-with-struct-property_set/20160329-161215
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: arm-raumfeld_defconfig (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=arm

All errors (new ones prefixed by >>):

arch/arm/mach-pxa/raumfeld.c: In function 'raumfeld_controller_init':
>> arch/arm/mach-pxa/raumfeld.c:1062:2: error: implicit declaration of function 'device_add_property_set' [-Werror=implicit-function-declaration]
device_add_property_set(&rotary_encoder_device.dev,
^
cc1: some warnings being treated as errors

vim +/device_add_property_set +1062 arch/arm/mach-pxa/raumfeld.c

550ee52d Daniel Mack 2009-11-27 1056 {
550ee52d Daniel Mack 2009-11-27 1057 int ret;
550ee52d Daniel Mack 2009-11-27 1058
550ee52d Daniel Mack 2009-11-27 1059 pxa3xx_mfp_config(ARRAY_AND_SIZE(raumfeld_controller_pin_config));
77a8f0ad Dmitry Torokhov 2016-01-17 1060
77a8f0ad Dmitry Torokhov 2016-01-17 1061 gpiod_add_lookup_table(&raumfeld_rotary_gpios_table);
a9e340dc Dmitry Torokhov 2016-01-17 @1062 device_add_property_set(&rotary_encoder_device.dev,
1cc4f12e Heikki Krogerus 2016-03-29 1063 raumfeld_rotary_properties);
550ee52d Daniel Mack 2009-11-27 1064 platform_device_register(&rotary_encoder_device);
77a8f0ad Dmitry Torokhov 2016-01-17 1065

:::::: The code at line 1062 was first introduced by commit
:::::: a9e340dce3c3bceeb42f6b6d33b7858822d76cb6 Input: rotary_encoder - move away from platform data structure

:::::: TO: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
:::::: CC: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data