提交 b2ddb901 编写于 作者: A Al Viro 提交者: Linus Torvalds

dma_page_list ->base_address is a userland pointer

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 2b210adc
...@@ -423,7 +423,7 @@ void dma_async_device_unregister(struct dma_device *device); ...@@ -423,7 +423,7 @@ void dma_async_device_unregister(struct dma_device *device);
/* --- Helper iov-locking functions --- */ /* --- Helper iov-locking functions --- */
struct dma_page_list { struct dma_page_list {
char *base_address; char __user *base_address;
int nr_pages; int nr_pages;
struct page **pages; struct page **pages;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册