diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-09-29 11:54:46 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-04 10:39:32 -0700 |
commit | 1738067e5d7009c9ce9ee11c7fe9f9156b191aa9 (patch) | |
tree | ecfa3ec142dfe1233bb5b4b5e9f0123eec0bed58 /drivers/staging/hv | |
parent | 60e8615ad6e09f47b15c4d023f728c112b8f7294 (diff) |
Staging: hv: mousevsc: Correctly initialize the header size
Correctly initialize the header size.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv')
-rw-r--r-- | drivers/staging/hv/hv_mouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c index 19cfc231ab99..74faa2678485 100644 --- a/drivers/staging/hv/hv_mouse.c +++ b/drivers/staging/hv/hv_mouse.c @@ -590,7 +590,7 @@ static int mousevsc_connect_to_vsp(struct hv_device *device) request->size = sizeof(struct synthhid_protocol_request); 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; pr_info("synthhid protocol request..."); |