diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-31 09:37:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-31 09:37:56 -0300 |
commit | a5f2db539bd2a977cdee3fecc5c15dd0941c1ab3 (patch) | |
tree | faa650c008e8193612a610b4a78c641506da3f97 /drivers/media/dvb | |
parent | 449d1a0ad1732476d394fb2b885092a5c554f983 (diff) | |
download | kernel_replicant_linux-a5f2db539bd2a977cdee3fecc5c15dd0941c1ab3.tar.gz kernel_replicant_linux-a5f2db539bd2a977cdee3fecc5c15dd0941c1ab3.tar.bz2 kernel_replicant_linux-a5f2db539bd2a977cdee3fecc5c15dd0941c1ab3.zip |
v4l2-ioctl: properly return -EINVAL when parameters are wrong
Whan an ioctl is implemented, but the parameters are invalid,
the error code should be -EINVAL. However, if the ioctl is
not defined, it should return -ENOTTY instead.
Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
0 files changed, 0 insertions, 0 deletions