[PATCH 670/961] Staging: hv: hv_mouse: fix camelcase in struct synthhid_device_info_ack

Greg Kroah-Hartman gregkh at suse.de
Wed Mar 16 14:05:13 PDT 2011


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 at microsoft.com>
Cc: K. Y. Srinivasan <kys at microsoft.com>
Cc: Haiyang Zhang <haiyangz at microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
 drivers/staging/hv/hv_mouse.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
index 90badf6..2dab7a2 100644
--- a/drivers/staging/hv/hv_mouse.c
+++ b/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,
-- 
1.7.4.1



More information about the devel mailing list