Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236253
b: refs/heads/master
c: 18bc44e
h: refs/heads/master
i:
  236251: dd66f35
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Mar 3, 2011
1 parent 42349d8 commit c286e08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 98ad91ed32f6d9327b630f11315a40097e7897b2
refs/heads/master: 18bc44e333f9f278328eab851f27d1169d623efb
4 changes: 2 additions & 2 deletions trunk/drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ struct synthhid_protocol_response {
struct synthhid_device_info {
struct synthhid_msg_hdr header;
struct hv_input_dev_info hid_dev_info;
unsigned char HidDescriptorInformation[1];
struct hid_descriptor hid_descriptor;
};

struct synthhid_device_info_ack {
Expand Down Expand Up @@ -352,7 +352,7 @@ static void MousevscOnReceiveDeviceInfo(struct mousevsc_dev *InputDevice, struct
memcpy(&InputDevice->hid_dev_info, &DeviceInfo->hid_dev_info, sizeof(struct hv_input_dev_info));

/* Save the hid desc */
desc = (struct hid_descriptor *)DeviceInfo->HidDescriptorInformation;
desc = &DeviceInfo->hid_descriptor;
WARN_ON(desc->bLength > 0);

InputDevice->HidDesc = kzalloc(desc->bLength, GFP_KERNEL);
Expand Down

0 comments on commit c286e08

Please sign in to comment.