diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c index fce27fb141cc618d99099f569d1d5a63ac7f53f9..a938fcfe9bc9209153e3e3b92de12d7bfc2dbd30 100644 --- a/drivers/hv/connection.c +++ b/drivers/hv/connection.c @@ -370,7 +370,7 @@ int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep) break; case HV_STATUS_INSUFFICIENT_MEMORY: case HV_STATUS_INSUFFICIENT_BUFFERS: - ret = -ENOMEM; + ret = -ENOBUFS; break; case HV_STATUS_SUCCESS: return ret;