Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267961
b: refs/heads/master
c: ff2bd69
h: refs/heads/master
i:
  267959: bd10a65
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent 55afd05 commit bf50916
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: 0f48c72ca63a6e1da7f226163c36fecd7a923fed
refs/heads/master: ff2bd69ae3ec164b606114fcbd9b9e4d5f2bcdc7
4 changes: 2 additions & 2 deletions trunk/drivers/staging/hv/netvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ int netvsc_device_remove(struct hv_device *device)
net_device = release_outbound_net_device(device);
if (!net_device) {
dev_err(&device->device, "No net device present!!");
return -1;
return -ENODEV;
}

/* Wait for all send completions */
Expand Down Expand Up @@ -499,7 +499,7 @@ int netvsc_send(struct hv_device *device,
if (!net_device) {
dev_err(&device->device, "net device (%p) shutting down..."
"ignoring outbound packets", net_device);
return -2;
return -ENODEV;
}

sendMessage.hdr.msg_type = NVSP_MSG1_TYPE_SEND_RNDIS_PKT;
Expand Down

0 comments on commit bf50916

Please sign in to comment.