Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21b29229 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] trivial __user cleanup (video1394)

parent 18fb9442
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -883,7 +883,7 @@ static int __video1394_ioctl(struct file *file,
			      v.channel);
		}

		if (copy_to_user((void *)arg, &v, sizeof(v))) {
		if (copy_to_user(argp, &v, sizeof(v))) {
			/* FIXME : free allocated dma resources */
			return -EFAULT;
		}