OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a335b6
)
hv: vmbus: fix vmbus_recvpacket_raw() return code
author
Dan Carpenter
<dan.carpenter@oracle.com>
Mon, 16 Sep 2013 21:58:36 +0000
(
00:58
+0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 23:34:55 +0000
(16:34 -0700)
Don't return success if the buffer has not been initialized.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c
patch
|
blob
|
history
diff --git
a/drivers/hv/channel.c
b/drivers/hv/channel.c
index
94d5459
..
cea623c
100644
(file)
--- a/
drivers/hv/channel.c
+++ b/
drivers/hv/channel.c
@@
-811,6
+811,6
@@
int vmbus_recvpacket_raw(struct vmbus_channel *channel, void *buffer,
if (signal)
vmbus_setevent(channel);
- return
0
;
+ return
ret
;
}
EXPORT_SYMBOL_GPL(vmbus_recvpacket_raw);