From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030494AbWJJVok (ORCPT ); Tue, 10 Oct 2006 17:44:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030485AbWJJVog (ORCPT ); Tue, 10 Oct 2006 17:44:36 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:29124 "EHLO ZenIV.linux.org.uk") by vger.kernel.org with ESMTP id S1030482AbWJJVoS (ORCPT ); Tue, 10 Oct 2006 17:44:18 -0400 To: torvalds@osdl.org Subject: [PATCH] more fs/compat.c __user annotations Cc: linux-kernel@vger.kernel.org Message-Id: From: Al Viro Date: Tue, 10 Oct 2006 22:44:17 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Al Viro --- fs/compat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/compat.c b/fs/compat.c index 4d3fbcb..50624d4 100644 --- a/fs/compat.c +++ b/fs/compat.c @@ -1316,7 +1316,7 @@ compat_sys_vmsplice(int fd, const struct 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)); -- 1.4.2.GIT