Просмотр исходного кода

Staging: hv: hv_mouse: fix camelcase in struct synthhid_device_info_ack

Just one field to fix up, s/Reserved/reserved/g
Odd that we have to set the reserved field to 0 when we send the
message, that would imply that it really isn't "reserved"...

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman 14 лет назад
Родитель
Сommit
6ed10de124
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      drivers/staging/hv/hv_mouse.c

+ 2 - 2
drivers/staging/hv/hv_mouse.c

@@ -122,7 +122,7 @@ struct synthhid_device_info {
 
 struct synthhid_device_info_ack {
 	struct synthhid_msg_hdr header;
-	unsigned char           Reserved;
+	unsigned char reserved;
 };
 
 struct synthhid_input_report {
@@ -387,7 +387,7 @@ static void MousevscOnReceiveDeviceInfo(struct mousevsc_dev *InputDevice, struct
 
 	ack.u.Ack.header.type = SynthHidInitialDeviceInfoAck;
 	ack.u.Ack.header.size = 1;
-	ack.u.Ack.Reserved = 0;
+	ack.u.Ack.reserved = 0;
 
 	ret = vmbus_sendpacket(InputDevice->Device->channel,
 			&ack,