]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Drivers: hv: vmbus: fix the building warning with hyperv-keyboard
authorDexuan Cui <decui@microsoft.com>
Mon, 21 Dec 2015 20:21:22 +0000 (12:21 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:07:56 +0000 (13:07 -0800)
commit2048157ad02e65f6327118dd4a7b9c9f1fd12f77
treebae7c1f26bd773ff5d71b47dd5759791f1a3bd75
parent940b68e2c3e4ebf032885203c3970e9649f814af
Drivers: hv: vmbus: fix the building warning with hyperv-keyboard

With the recent change af3ff643ea91ba64dd8d0b1cbed54d44512f96cd
(Drivers: hv: vmbus: Use uuid_le type consistently), we always get this
warning:

  CC [M]  drivers/input/serio/hyperv-keyboard.o
drivers/input/serio/hyperv-keyboard.c:427:2: warning: missing braces around
initializer [-Wmissing-braces]
  { HV_KBD_GUID, },
  ^
drivers/input/serio/hyperv-keyboard.c:427:2: warning: (near initialization
for .id_table[0].guid.b.) [-Wmissing-braces]

The patch fixes the warning.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/serio/hyperv-keyboard.c
include/linux/hyperv.h