Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197290
b: refs/heads/master
c: 8cad0af
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed May 11, 2010
1 parent 7d2eb02 commit d7c5c1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 7e052d98f2bbcaaaa6d509081d78e600927cfe60
refs/heads/master: 8cad0af9a1a1882cd00f12f8f7c79690f563b1d7
4 changes: 3 additions & 1 deletion trunk/drivers/staging/hv/Connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ int VmbusConnect(void)
sizeof(struct vmbus_channel_initiate_contact),
GFP_KERNEL);
if (msgInfo == NULL) {
ret = -1;
ret = -ENOMEM;
goto Cleanup;
}

Expand Down Expand Up @@ -195,6 +195,8 @@ int VmbusDisconnect(void)
return -1;

msg = kzalloc(sizeof(struct vmbus_channel_message_header), GFP_KERNEL);
if (!msg)
return -ENOMEM;

msg->MessageType = ChannelMessageUnload;

Expand Down

0 comments on commit d7c5c1a

Please sign in to comment.