diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-06-06 15:50:11 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-07 13:46:07 -0700 |
commit | 926ae5262171b2b23c94bc5cbd8dbb9d32152419 (patch) | |
tree | 0e32f59747ba28815fcc272f0e2540d25912ee90 /drivers/staging/hv/channel.c | |
parent | 3a7546d934ca210ebeb51b1bb5180a3774cee443 (diff) | |
download | op-kernel-dev-926ae5262171b2b23c94bc5cbd8dbb9d32152419.zip op-kernel-dev-926ae5262171b2b23c94bc5cbd8dbb9d32152419.tar.gz |
Staging: hv: vmbus: Cleanup some error values in channel.c
Cleanup some error values in channel.c.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/channel.c')
-rw-r--r-- | drivers/staging/hv/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/channel.c b/drivers/staging/hv/channel.c index 1833f27..21f1efc 100644 --- a/drivers/staging/hv/channel.c +++ b/drivers/staging/hv/channel.c @@ -811,7 +811,7 @@ int vmbus_recvpacket(struct vmbus_channel *channel, void *buffer, pr_err("Buffer too small - got %d needs %d\n", bufferlen, userlen); - return -1; + return -ETOOSMALL; } *requestid = desc.trans_id; |