Message ID | 20201027090942.14916-2-colin.king@canonical.com |
---|---|
State | Superseded |
Headers | show |
Series | vsock: minor clean up of ioctl error handling | expand |
On Tue, Oct 27, 2020 at 09:09:41AM +0000, Colin King wrote: >From: Colin Ian King <colin.king@canonical.com> > >When exercising the kernel with stress-ng with some ioctl tests the >"Unknown ioctl" error message is spamming the kernel log at a high >rate. Remove this message. > >Signed-off-by: Colin Ian King <colin.king@canonical.com> >--- > net/vmw_vsock/af_vsock.c | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> > >diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c >index 9e93bc201cc0..865331b809e4 100644 >--- a/net/vmw_vsock/af_vsock.c >+++ b/net/vmw_vsock/af_vsock.c >@@ -2072,7 +2072,6 @@ static long vsock_dev_do_ioctl(struct file *filp, > break; > > default: >- pr_err("Unknown ioctl %d\n", cmd); > retval = -EINVAL; > } > >-- >2.27.0 >
diff --git a/net/vmw_vsock/af_vsock.c b/net/vmw_vsock/af_vsock.c index 9e93bc201cc0..865331b809e4 100644 --- a/net/vmw_vsock/af_vsock.c +++ b/net/vmw_vsock/af_vsock.c @@ -2072,7 +2072,6 @@ static long vsock_dev_do_ioctl(struct file *filp, break; default: - pr_err("Unknown ioctl %d\n", cmd); retval = -EINVAL; }