* [PATCH] trivial __user cleanup (video1394)
@ 2005-09-09 19:26 viro
0 siblings, 0 replies; only message in thread
From: viro @ 2005-09-09 19:26 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, bcollins
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----
diff -urN RC13-git8-base/drivers/ieee1394/video1394.c current/drivers/ieee1394/video1394.c
--- RC13-git8-base/drivers/ieee1394/video1394.c 2005-08-28 23:09:41.000000000 -0400
+++ current/drivers/ieee1394/video1394.c 2005-09-08 23:53:33.000000000 -0400
@@ -883,7 +883,7 @@
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-09 19:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-09 19:26 [PATCH] trivial __user cleanup (video1394) viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®