Re: [input:next 1215/1216] drivers/tty/vt/keyboard.c:994:2: warning: (near initialization for 'kbd_led_triggers[0].trigger')

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 17, 2015 at 04:02:55AM +0800, kbuild test robot wrote:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
> head:   f3de1613abd5085b1f36eb6007e3484708719590
> commit: 17155b6144843281a199ef626fe294a752fd3ff5 [1215/1216] tty/vt/keyboard: define LED triggers for VT LED states
> config: x86_64-randconfig-i0-201524 (attached as .config)
> reproduce:
>   git checkout 17155b6144843281a199ef626fe294a752fd3ff5
>   # save the attached .config to linux build tree
>   make ARCH=x86_64 
> 
> All warnings (new ones prefixed by >>):
> 
>    In file included from include/linux/list.h:8:0,
>                     from include/linux/module.h:9,
>                     from drivers/tty/vt/keyboard.c:28:
>    drivers/tty/vt/keyboard.c: In function 'kbd_led_trigger_activate':
>    drivers/tty/vt/keyboard.c:975:20: error: 'struct led_classdev' has no member named 'trigger'
>       container_of(cdev->trigger, struct kbd_led_trigger, trigger);

I fixed it up by adding "&& IS_ENABLED(CONFIG_LEDS_TRIGGERS)" to the
ifdef block.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux