diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-11 05:44:21 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-23 05:23:04 -0500 |
commit | a145f64c6107d3aa5a7cec9f8977d04ac2a896c9 (patch) | |
tree | 412dfda12a52778eab16abdb38175fd1feb6aacd /include | |
parent | b9c97c67fd19262c002d94ced2bfb513083e161e (diff) | |
download | linux-a145f64c6107d3aa5a7cec9f8977d04ac2a896c9.tar.bz2 |
media: dmxdev: fix error code for invalid ioctls
Returning -EINVAL when an ioctl is not implemented is a very
bad idea, as it is hard to distinguish from other error
contitions that an ioctl could lead. Replace it by its
right error code: -ENOTTY.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions