From: Al Viro Date: Tue, 10 Oct 2006 21:44:17 +0000 (+0100) Subject: [PATCH] more fs/compat.c __user annotations X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=90cbad65911b5952a03111423347a6ab38236e0b;p=linux-beck.git [PATCH] more fs/compat.c __user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/fs/compat.c b/fs/compat.c index 4d3fbcb2ddb1..50624d4a70c6 100644 --- a/fs/compat.c +++ b/fs/compat.c @@ -1316,7 +1316,7 @@ compat_sys_vmsplice(int fd, const struct compat_iovec __user *iov32, unsigned int nr_segs, unsigned int flags) { unsigned i; - struct iovec *iov; + struct iovec __user *iov; if (nr_segs > UIO_MAXIOV) return -EINVAL; iov = compat_alloc_user_space(nr_segs * sizeof(struct iovec));