Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268653
b: refs/heads/master
c: 870e53a
h: refs/heads/master
i:
  268651: b4982b9
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Oct 4, 2011
1 parent 1e52cf4 commit c1e5e45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 9d5d11539afba275ff2fec16a180e14b66cb4f1b
refs/heads/master: 870e53adbd372cbeea15ed00e1d4423725f3cea0
6 changes: 3 additions & 3 deletions trunk/drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@
* Data types
*/
struct hv_input_dev_info {
unsigned int size;
unsigned short vendor;
unsigned short product;
unsigned short version;
char name[128];
unsigned short reserved[11];
};

/* The maximum size of a synthetic input message. */
Expand Down Expand Up @@ -686,7 +687,7 @@ static void reportdesc_callback(struct hv_device *dev, void *packet, u32 len)
hid_dev->dev = dev->device;

sprintf(hid_dev->name, "%s",
input_device_ctx->device_info.name);
"Microsoft Vmbus HID-compliant Mouse");

/*
* HJ Do we want to call it with a 0
Expand Down Expand Up @@ -763,7 +764,6 @@ static int mousevsc_on_device_add(struct hv_device *device,
dev_info.vendor = input_dev->hid_dev_info.vendor;
dev_info.product = input_dev->hid_dev_info.product;
dev_info.version = input_dev->hid_dev_info.version;
strcpy(dev_info.name, "Microsoft Vmbus HID-compliant Mouse");

/* Send the device info back up */
input_device_ctx = dev_get_drvdata(&device->device);
Expand Down

0 comments on commit c1e5e45

Please sign in to comment.