From: Al Viro Date: Tue, 10 Oct 2006 21:44:17 +0000 (+0100) Subject: [PATCH] more fs/compat.c __user annotations X-Git-Tag: v2.6.19-rc2~195 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90cbad65911b5952a03111423347a6ab38236e0b;p=linux-2.6 [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 4d3fbcb2dd..50624d4a70 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));