diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2018-02-11 10:44:21 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-02-23 10:23:04 +0000 |
| commit | a145f64c6107d3aa5a7cec9f8977d04ac2a896c9 (patch) | |
| tree | 412dfda12a52778eab16abdb38175fd1feb6aacd /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
| parent | media: m88ds3103: don't call a non-initalized function (diff) | |
| download | kernel-a145f64c6107d3aa5a7cec9f8977d04ac2a896c9.tar.gz kernel-a145f64c6107d3aa5a7cec9f8977d04ac2a896c9.zip | |
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 <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions
