Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760603AbYC2DLn (ORCPT ); Fri, 28 Mar 2008 23:11:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760052AbYC2DJk (ORCPT ); Fri, 28 Mar 2008 23:09:40 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:50089 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760047AbYC2DJj (ORCPT ); Fri, 28 Mar 2008 23:09:39 -0400 To: torvalds@linux-foundation.org Subject: [PATCH] dma_page_list ->base_address is a userland pointer Cc: linux-kernel@vger.kernel.org Message-Id: From: Al Viro Date: Sat, 29 Mar 2008 03:09:38 +0000 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 809 Lines: 28 Signed-off-by: Al Viro --- include/linux/dmaengine.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 261e43a..34d4406 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -423,7 +423,7 @@ void dma_async_device_unregister(struct dma_device *device); /* --- Helper iov-locking functions --- */ struct dma_page_list { - char *base_address; + char __user *base_address; int nr_pages; struct page **pages; }; -- 1.5.3.GIT -- 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/