Skip to content

Commit

Permalink
dma_page_list ->base_address is a userland pointer
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Mar 30, 2008
1 parent 2b210ad commit b2ddb90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/dmaengine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit b2ddb90

Please sign in to comment.