Re: [PATCH 2/2] vsock: fix the error return when an invalid ioctl command is used

2020-10-27 Thread Stefano Garzarella
On Tue, Oct 27, 2020 at 09:09:42AM +, Colin King wrote: From: Colin Ian King Currently when an invalid ioctl command is used the error return is -EINVAL. Fix this by returning the correct error -ENOIOCTLCMD. Signed-off-by: Colin Ian King --- net/vmw_vsock/af_vsock.c | 2 +- 1 file changed

[PATCH 2/2] vsock: fix the error return when an invalid ioctl command is used

2020-10-27 Thread Colin King
From: Colin Ian King Currently when an invalid ioctl command is used the error return is -EINVAL. Fix this by returning the correct error -ENOIOCTLCMD. Signed-off-by: Colin Ian King --- net/vmw_vsock/af_vsock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/vmw_vsock/