raw1394 __user annotation

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Al Viro 2007-07-26 17:36:19 +01:00 committed by Linus Torvalds
parent 0bd8496b59
commit 5b26e64ea3

View file

@ -2677,7 +2677,7 @@ static long raw1394_iso_xmit_recv_packets32(struct file *file, unsigned int cmd,
struct raw1394_iso_packets32 __user *arg) struct raw1394_iso_packets32 __user *arg)
{ {
compat_uptr_t infos32; compat_uptr_t infos32;
void *infos; void __user *infos;
long err = -EFAULT; long err = -EFAULT;
struct raw1394_iso_packets __user *dst = compat_alloc_user_space(sizeof(struct raw1394_iso_packets)); struct raw1394_iso_packets __user *dst = compat_alloc_user_space(sizeof(struct raw1394_iso_packets));