Commit ae8a6e6e authored by Jakub Kicinski's avatar Jakub Kicinski

Merge branch 'vsock-minor-clean-up-of-ioctl-error-handling'

Colin Ian King says:

====================
vsock: minor clean up of ioctl error handling

Two minor changes to the ioctl error handling.
====================

Link: https://lore.kernel.org/r/20201027090942.14916-1-colin.king@canonical.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parents 1c29d989 c3e448cd
......@@ -2072,8 +2072,7 @@ static long vsock_dev_do_ioctl(struct file *filp,
break;
default:
pr_err("Unknown ioctl %d\n", cmd);
retval = -EINVAL;
retval = -ENOIOCTLCMD;
}
return retval;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment