Messages in this thread Patch in this message | | | Date | Fri, 9 Sep 2005 20:26:01 +0100 | From | viro@ZenIV ... | Subject | [PATCH] trivial __user cleanup (video1394) |
| |
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; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |