]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
dma_page_list ->base_address is a userland pointer
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 29 Mar 2008 03:09:38 +0000 (03:09 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 30 Mar 2008 21:20:23 +0000 (14:20 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/dmaengine.h

index 261e43a4c873042c687138db87e9e1a242e6ffd8..34d440698293e6ea20f8d3763e42b04126a7980d 100644 (file)
@@ -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;
 };