Re: [PATCH 27/27] HID: wacom: leds: handle Cintiq 24HD leds buttons

From: kbuild test robot
Date: Tue Jul 05 2016 - 12:22:35 EST


Hi,

[auto build test ERROR on hid/for-next]
[also build test ERROR on v4.7-rc6 next-20160705]
[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/Benjamin-Tissoires/HID-wacom-cleanup-EKR-LED/20160705-225431
base: https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-next
config: i386-randconfig-a0-201627 (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=i386

All errors (new ones prefixed by >>):

In file included from include/linux/kernel.h:13:0,
from include/asm-generic/bug.h:13,
from arch/x86/include/asm/bug.h:35,
from include/linux/bug.h:4,
from include/linux/mmdebug.h:4,
from include/linux/gfp.h:4,
from include/linux/slab.h:14,
from include/linux/hid.h:30,
from drivers/hid/wacom_wac.h:13,
from drivers/hid/wacom_wac.c:15:
drivers/hid/wacom_wac.c: In function 'wacom_update_led':
>> drivers/hid/wacom_wac.c:2844:20: error: 'struct led_trigger' has no member named 'name'
next_led->trigger.name,
^
include/linux/printk.h:264:33: note: in definition of macro 'pr_err'
printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~

vim +2844 drivers/hid/wacom_wac.c

2838 return;
2839
2840 pr_err("%s group: %d led: (%d -> %d) t: %s %s:%d\n", __func__,
2841 led->group,
2842 led->id,
2843 next_led->id,
> 2844 next_led->trigger.name,
2845 __FILE__, __LINE__);
2846
2847 next_led->held = true;

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

Attachment: .config.gz
Description: Binary data