Re: [PATCH 6/8] Input: psmouse - add support for SMBus companions

From: kbuild test robot
Date: Sat Mar 11 2017 - 10:15:08 EST


Hi Benjamin,

[auto build test ERROR on input/next]
[also build test ERROR on v4.11-rc1 next-20170310]
[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/Dmitry-Torokhov/PS/20170311-222141
base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: x86_64-randconfig-x004-201710 (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=x86_64

Note: the linux-review/Dmitry-Torokhov/PS/20170311-222141 HEAD b84adc980e4fc51bf4be2aac8853afcc68ceb13b builds fine.
It only hurts bisectibility.

All error/warnings (new ones prefixed by >>):

In file included from drivers/input/mouse/psmouse-base.c:27:0:
>> drivers/input/mouse/psmouse.h:234:56: warning: 'struct i2c_board_info' declared inside parameter list will not be visible outside of this definition or declaration
int psmouse_smbus_init(struct psmouse *psmouse, struct i2c_board_info *board,
^~~~~~~~~~~~~~
--
drivers/input/mouse/synaptics.o: In function `psmouse_smbus_init':
>> synaptics.c:(.text+0x0): multiple definition of `psmouse_smbus_init'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11c4): first defined here
drivers/input/mouse/synaptics.o: In function `psmouse_smbus_cleanup':
>> synaptics.c:(.text+0x10): multiple definition of `psmouse_smbus_cleanup'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11d4): first defined here
drivers/input/mouse/focaltech.o: In function `psmouse_smbus_init':
focaltech.c:(.text+0x0): multiple definition of `psmouse_smbus_init'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11c4): first defined here
drivers/input/mouse/focaltech.o: In function `psmouse_smbus_cleanup':
focaltech.c:(.text+0x10): multiple definition of `psmouse_smbus_cleanup'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11d4): first defined here
drivers/input/mouse/byd.o: In function `psmouse_smbus_init':
byd.c:(.text+0x3e8): multiple definition of `psmouse_smbus_init'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11c4): first defined here
drivers/input/mouse/byd.o: In function `psmouse_smbus_cleanup':
byd.c:(.text+0x3f8): multiple definition of `psmouse_smbus_cleanup'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11d4): first defined here
drivers/input/mouse/elantech.o: In function `psmouse_smbus_init':
elantech.c:(.text+0x1cc6): multiple definition of `psmouse_smbus_init'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11c4): first defined here
drivers/input/mouse/elantech.o: In function `psmouse_smbus_cleanup':
elantech.c:(.text+0x1cd6): multiple definition of `psmouse_smbus_cleanup'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11d4): first defined here
drivers/input/mouse/sentelic.o: In function `psmouse_smbus_init':
sentelic.c:(.text+0x14f1): multiple definition of `psmouse_smbus_init'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11c4): first defined here
drivers/input/mouse/sentelic.o: In function `psmouse_smbus_cleanup':
sentelic.c:(.text+0x1501): multiple definition of `psmouse_smbus_cleanup'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11d4): first defined here
drivers/input/mouse/trackpoint.o: In function `psmouse_smbus_init':
trackpoint.c:(.text+0xb2b): multiple definition of `psmouse_smbus_init'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11c4): first defined here
drivers/input/mouse/trackpoint.o: In function `psmouse_smbus_cleanup':
trackpoint.c:(.text+0xb3b): multiple definition of `psmouse_smbus_cleanup'
drivers/input/mouse/psmouse-base.o:psmouse-base.c:(.text+0x11d4): first defined here

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

Attachment: .config.gz
Description: application/gzip