]> git.baikalelectronics.ru Git - 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)
commit1405e80a951598f7750894da581b41dd8f950d8b
treebae7c1f26bd773ff5d71b47dd5759791f1a3bd75
parentd7b7b3ac820db02ac630a67a1b2815d29f919fc2
Drivers: hv: vmbus: fix the building warning with hyperv-keyboard

With the recent change 2e176d77660041ff4a9a5a12bda5273ec955f058
(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