Re: [PATCH v2] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4
From: kbuild test robot
Date: Fri Jun 03 2016 - 16:12:11 EST
Hi,
[auto build test ERROR on hid/for-next]
[also build test ERROR on v4.7-rc1 next-20160603]
[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/Andrew-Duggan/HID-rmi-Make-hid-rmi-a-transport-driver-for-synaptics-rmi4/20160604-024428
base: https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-next
config: x86_64-randconfig-s4-06040320 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
>> drivers/hid/hid-rmi.c:572:2: error: unknown field 'dribble' specified in initializer
.dribble = RMI_REG_STATE_OFF,
^
>> drivers/hid/hid-rmi.c:572:13: error: 'RMI_REG_STATE_OFF' undeclared here (not in a function)
.dribble = RMI_REG_STATE_OFF,
^~~~~~~~~~~~~~~~~
>> drivers/hid/hid-rmi.c:573:2: error: unknown field 'palm_detect' specified in initializer
.palm_detect = RMI_REG_STATE_OFF,
^
vim +/dribble +572 drivers/hid/hid-rmi.c
566 return 0;
567 }
568
569 static struct rmi_2d_sensor_platform_data rmi_hid_2d_sensor_data = {
570 .sensor_type = rmi_sensor_touchpad,
571 .axis_align.flip_y = true,
> 572 .dribble = RMI_REG_STATE_OFF,
> 573 .palm_detect = RMI_REG_STATE_OFF,
574 };
575
576 static struct rmi_f30_data rmi_hid_f30_data = {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data