Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236260
b: refs/heads/master
c: 5ff9b90
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Mar 3, 2011
1 parent c3f4dcc commit a8a0fb2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 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: e7de0adf89c2f8a36f839b9dfc98b91239f5a3d5
refs/heads/master: 5ff9b906c45bcb17dbf7922205dd95f9ca189a88
20 changes: 10 additions & 10 deletions trunk/drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ struct mousevsc_prt_msg {
enum pipe_prot_msg_type type;
u32 size;
union {
struct synthhid_protocol_request Request;
struct synthhid_protocol_response Response;
struct synthhid_device_info_ack Ack;
struct synthhid_protocol_request request;
struct synthhid_protocol_response response;
struct synthhid_device_info_ack ack;
};
};

Expand Down Expand Up @@ -385,9 +385,9 @@ static void MousevscOnReceiveDeviceInfo(struct mousevsc_dev *InputDevice, struct
ack.type = PipeMessageData;
ack.size = sizeof(struct synthhid_device_info_ack);

ack.Ack.header.type = SynthHidInitialDeviceInfoAck;
ack.Ack.header.size = 1;
ack.Ack.reserved = 0;
ack.ack.header.type = SynthHidInitialDeviceInfoAck;
ack.ack.header.size = 1;
ack.ack.reserved = 0;

ret = vmbus_sendpacket(InputDevice->Device->channel,
&ack,
Expand Down Expand Up @@ -610,9 +610,9 @@ static int MousevscConnectToVsp(struct hv_device *Device)
request->type = PipeMessageData;
request->size = sizeof(struct synthhid_protocol_request);

request->Request.header.type = SynthHidProtocolRequest;
request->Request.header.size = sizeof(unsigned long);
request->Request.version_requested.version = SYNTHHID_INPUT_VERSION;
request->request.header.type = SynthHidProtocolRequest;
request->request.header.size = sizeof(unsigned long);
request->request.version_requested.version = SYNTHHID_INPUT_VERSION;

pr_info("synthhid protocol request...");

Expand All @@ -637,7 +637,7 @@ static int MousevscConnectToVsp(struct hv_device *Device)

response = &inputDevice->ProtocolResp;

if (!response->Response.approved) {
if (!response->response.approved) {
pr_err("synthhid protocol request failed (version %d)",
SYNTHHID_INPUT_VERSION);
ret = -1;
Expand Down

0 comments on commit a8a0fb2

Please sign in to comment.