Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355044
b: refs/heads/master
c: 5a19b78
h: refs/heads/master
v: v3
  • Loading branch information
Andy King authored and Greg Kroah-Hartman committed Jan 22, 2013
1 parent e0d1485 commit 4d5495d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 74465645cdb4391b9fc95d12fd750a88012ad479
refs/heads/master: 5a19b78972c39be0c5378c14c23e6c998683e80f
5 changes: 1 addition & 4 deletions trunk/drivers/misc/vmw_vmci/vmci_guest.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,13 @@ bool vmci_guest_code_active(void)
u32 vmci_get_vm_context_id(void)
{
if (vm_context_id == VMCI_INVALID_ID) {
int result;
struct vmci_datagram get_cid_msg;
get_cid_msg.dst =
vmci_make_handle(VMCI_HYPERVISOR_CONTEXT_ID,
VMCI_GET_CONTEXT_ID);
get_cid_msg.src = VMCI_ANON_SRC_HANDLE;
get_cid_msg.payload_size = 0;
result = vmci_send_datagram(&get_cid_msg);
if (result >= 0)
vm_context_id = result;
vm_context_id = vmci_send_datagram(&get_cid_msg);
}
return vm_context_id;
}
Expand Down

0 comments on commit 4d5495d

Please sign in to comment.