Commit 1738067e authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: mousevsc: Correctly initialize the header size

Correctly initialize the header size.
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 60e8615a
...@@ -590,7 +590,7 @@ static int mousevsc_connect_to_vsp(struct hv_device *device) ...@@ -590,7 +590,7 @@ static int mousevsc_connect_to_vsp(struct hv_device *device)
request->size = sizeof(struct synthhid_protocol_request); request->size = sizeof(struct synthhid_protocol_request);
request->request.header.type = SynthHidProtocolRequest; request->request.header.type = SynthHidProtocolRequest;
request->request.header.size = sizeof(unsigned long); request->request.header.size = sizeof(unsigned int);
request->request.version_requested.version = SYNTHHID_INPUT_VERSION; request->request.version_requested.version = SYNTHHID_INPUT_VERSION;
pr_info("synthhid protocol request..."); pr_info("synthhid protocol request...");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment