From: Al Viro Date: Sat, 29 Mar 2008 03:09:38 +0000 (+0000) Subject: dma_page_list ->base_address is a userland pointer X-Git-Tag: MMI-PSA29.97-13-9~35798 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b2ddb9019ea13fb7b62d8e45adcc468376af0de7;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git dma_page_list ->base_address is a userland pointer Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 261e43a4c873..34d440698293 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; };