diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ieee1394/video1394.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/video1394.c b/drivers/ieee1394/video1394.c index 06759b36afea..9d6facf2f78f 100644 --- a/drivers/ieee1394/video1394.c +++ b/drivers/ieee1394/video1394.c | |||
@@ -883,7 +883,7 @@ static int __video1394_ioctl(struct file *file, | |||
883 | v.channel); | 883 | v.channel); |
884 | } | 884 | } |
885 | 885 | ||
886 | if (copy_to_user((void *)arg, &v, sizeof(v))) { | 886 | if (copy_to_user(argp, &v, sizeof(v))) { |
887 | /* FIXME : free allocated dma resources */ | 887 | /* FIXME : free allocated dma resources */ |
888 | return -EFAULT; | 888 | return -EFAULT; |
889 | } | 889 | } |