Skip to content

Commit

Permalink
Staging: hv: netvsc: return negative error codes
Browse files Browse the repository at this point in the history
There was a typo here and we changed the -ENOMEM into +ENOMEM.  The
error codes aren't used, so this is just a cleanup.

Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
error27 authored and gregkh committed Aug 29, 2011
1 parent bb5da49 commit 7f9615e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/hv/netvsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static int netvsc_destroy_recv_buf(struct netvsc_device *net_device)
if (ret != 0) {
dev_err(&net_device->dev->device,
"unable to teardown receive buffer's gpadl");
return -ret;
return ret;
}
net_device->recv_buf_gpadl_handle = 0;
}
Expand Down

0 comments on commit 7f9615e

Please sign in to comment.