Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236256
b: refs/heads/master
c: d7fa1a4
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Mar 3, 2011
1 parent c7ca0c6 commit 686fe79
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: e93eff9cf4fd9d051d775972ef93c25e2df5dc1c
refs/heads/master: d7fa1a4629cd94e249b1556f58030174601ddbc4
16 changes: 8 additions & 8 deletions trunk/drivers/staging/hv/hv_mouse.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ struct mousevsc_prt_msg {
struct synthhid_protocol_request Request;
struct synthhid_protocol_response Response;
struct synthhid_device_info_ack Ack;
} u;
};
};

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

ack.u.Ack.header.type = SynthHidInitialDeviceInfoAck;
ack.u.Ack.header.size = 1;
ack.u.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 @@ -608,9 +608,9 @@ static int MousevscConnectToVsp(struct hv_device *Device)
request->PacketType = PipeMessageData;
request->DataSize = sizeof(struct synthhid_protocol_request);

request->u.Request.header.type = SynthHidProtocolRequest;
request->u.Request.header.size = sizeof(unsigned long);
request->u.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 @@ -635,7 +635,7 @@ static int MousevscConnectToVsp(struct hv_device *Device)

response = &inputDevice->ProtocolResp;

if (!response->u.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 686fe79

Please sign in to comment.