Staging: hv: vmbus: Cleanup some error values in channel.c
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>
This commit is contained in:
parent
3a7546d934
commit
926ae52621
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user