summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-11 05:44:21 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-25 16:13:12 +0200
commit40a8962a531db9823db2c091303357debed16c5b (patch)
tree0639ec145a3ccde32fbba7f2c7d40c25337538a0 /scripts/gdb/linux/proc.py
parent515702e0a90097344b9ec851501bb87074be47f5 (diff)
media: dmxdev: fix error code for invalid ioctls
[ Upstream commit a145f64c6107d3aa5a7cec9f8977d04ac2a896c9 ] 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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions