Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=61c310dc1e2a34bced25b4fa7609316d6755ccc2
Commit:     61c310dc1e2a34bced25b4fa7609316d6755ccc2
Parent:     08256ea0da18db20f2edc2e8c935cf74c33ad564
Author:     Sakari Ailus <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 30 09:20:40 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:14:39 2007 -0300

    V4L/DVB (6218): V4L: Int if: Use -ENOIOCTLCMD for nonexistent ioctls
    
    Signed-off-by: Sakari Ailus <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/v4l2-int-device.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/v4l2-int-device.c 
b/drivers/media/video/v4l2-int-device.c
index 7ad8700..f497c94 100644
--- a/drivers/media/video/v4l2-int-device.c
+++ b/drivers/media/video/v4l2-int-device.c
@@ -143,7 +143,7 @@ static v4l2_int_ioctl_func *find_ioctl(struct 
v4l2_int_slave *slave, int cmd,
 
 static int no_such_ioctl_0(struct v4l2_int_device *d)
 {
-       return -EINVAL;
+       return -ENOIOCTLCMD;
 }
 
 int v4l2_int_ioctl_0(struct v4l2_int_device *d, int cmd)
@@ -155,7 +155,7 @@ int v4l2_int_ioctl_0(struct v4l2_int_device *d, int cmd)
 
 static int no_such_ioctl_1(struct v4l2_int_device *d, void *arg)
 {
-       return -EINVAL;
+       return -ENOIOCTLCMD;
 }
 
 int v4l2_int_ioctl_1(struct v4l2_int_device *d, int cmd, void *arg)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to