Drivers: hv: vmbus: Fix error code returned by vmbus_post_msg()
authorK. Y. Srinivasan <kys@microsoft.com>
Sun, 30 Apr 2017 23:21:16 +0000 (16:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 14:55:28 +0000 (16:55 +0200)
commit48f4ccdfc46906627f77fda94d80f2db1bd23ba3
tree08e4efc7421a4d9b0ca4ba2ed89a1471a0aaa90f
parenta1a7ea6bd6d55b6620c9c0a43bf684d6c427172a
Drivers: hv: vmbus: Fix error code returned by vmbus_post_msg()

ENOBUFS is a more approrpiate error code to be returned
when the hypervisor cannot post the message because of
insufficient buffers. Make the adjustment.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/connection.c