summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-03-29 03:09:38 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-30 14:20:23 -0700
commitb2ddb9019ea13fb7b62d8e45adcc468376af0de7 (patch)
treec01b69aeaf16eb84989a9011ec85e03f3fdec83e /include
parent2b210adcb08c7966feeb8574cd90514f1e797ae9 (diff)
downloadop-kernel-dev-b2ddb9019ea13fb7b62d8e45adcc468376af0de7.zip
op-kernel-dev-b2ddb9019ea13fb7b62d8e45adcc468376af0de7.tar.gz
dma_page_list ->base_address is a userland pointer
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dmaengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 261e43a4..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;
};
OpenPOWER on IntegriCloud