Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268469
b: refs/heads/master
c: c056998
h: refs/heads/master
i:
  268467: f7dcd60
v: v3
  • Loading branch information
Julia Lawall authored and Greg Kroah-Hartman committed Sep 16, 2011
1 parent 7f9321d commit 0181986
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: 661d3bf652c0b8eca6f40f2e308b5a719307dd56
refs/heads/master: c0569981b343a8cb848852a3ebd68bc07b64d873
4 changes: 2 additions & 2 deletions trunk/drivers/staging/mei/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ int mei_send_flow_control(struct mei_device *dev, struct mei_cl *cl)
mei_hdr->reserved = 0;

mei_flow_control = (struct hbm_flow_control *) &dev->wr_msg_buf[1];
memset(mei_flow_control, 0, sizeof(mei_flow_control));
memset(mei_flow_control, 0, sizeof(*mei_flow_control));
mei_flow_control->host_addr = cl->host_client_id;
mei_flow_control->me_addr = cl->me_client_id;
mei_flow_control->cmd.cmd = MEI_FLOW_CONTROL_CMD;
Expand Down Expand Up @@ -396,7 +396,7 @@ int mei_disconnect(struct mei_device *dev, struct mei_cl *cl)

mei_cli_disconnect =
(struct hbm_client_disconnect_request *) &dev->wr_msg_buf[1];
memset(mei_cli_disconnect, 0, sizeof(mei_cli_disconnect));
memset(mei_cli_disconnect, 0, sizeof(*mei_cli_disconnect));
mei_cli_disconnect->host_addr = cl->host_client_id;
mei_cli_disconnect->me_addr = cl->me_client_id;
mei_cli_disconnect->cmd.cmd = CLIENT_DISCONNECT_REQ_CMD;
Expand Down

0 comments on commit 0181986

Please sign in to comment.