hv: vmbus: fix vmbus_recvpacket_raw() return code
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 16 Sep 2013 21:58:36 +0000 (00:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 23:34:55 +0000 (16:34 -0700)
commit33b06938cf81939135448ed448ee5aa95fa86d04
treeb8e7d816f08f59063a637fde440b6990194e457f
parent0a335b6d47f014c41b8a0c8cbdc6d4886c10f5d5
hv: vmbus: fix vmbus_recvpacket_raw() return code

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