projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a7546d
)
Staging: hv: vmbus: Cleanup some error values in channel.c
author
K. Y. Srinivasan
<kys@microsoft.com>
Mon, 6 Jun 2011 22:50:11 +0000
(15:50 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 7 Jun 2011 20:46:07 +0000
(13:46 -0700)
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>
drivers/staging/hv/channel.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/hv/channel.c
b/drivers/staging/hv/channel.c
index 1833f275d0f88c85777e660c6b9b85dc08789585..21f1efc6cb4d7494fc6eb2c029c963ff1889a260 100644
(file)
--- 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;