diff options
author | Dan Carpenter | 2011-08-27 14:06:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman | 2011-08-29 11:15:23 -0700 |
commit | 7f9615e6f6c703c68f84460fe22b858be6c258d1 (patch) | |
tree | a42c125077e4dccc8a6fe5821c685a517e9ccee9 | |
parent | bb5da491ffd48f7e401da364d4fb0577ce0e9939 (diff) |
Staging: hv: netvsc: return negative error codes
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 <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/hv/netvsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index e4cc40a3bd86..30d313952852 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c @@ -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; } |