LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] dma_page_list ->base_address is a userland pointer
@ 2008-03-29 3:09 Al Viro
0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2008-03-29 3:09 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
include/linux/dmaengine.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 261e43a..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;
};
--
1.5.3.GIT
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] dma_page_list ->base_address is a userland pointer
[not found] <f12847240803310922i628ab6c6r44e89f6b841fdf79@mail.gmail.com>
@ 2008-04-01 13:34 ` Sosnowski, Maciej
0 siblings, 0 replies; 2+ messages in thread
From: Sosnowski, Maciej @ 2008-04-01 13:34 UTC (permalink / raw)
To: viro, torvalds; +Cc: linux-kernel
> ---------- Original message ----------
> From: Al Viro <viro@ftp.linux.org.uk>
> Date: Mar 29, 2008 5:09 AM
> Subject: [PATCH] dma_page_list ->base_address is a userland pointer
> To: torvalds@linux-foundation.org
> Cc: linux-kernel@vger.kernel.org
>
>
>
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> ---
> include/linux/dmaengine.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
> index 261e43a..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;
> };
> --
> 1.5.3.GIT
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
z siedziba w Gdansku
ul. Slowackiego 173
80-298 Gdansk
Sad Rejonowy Gdansk Polnoc w Gdansku,
VII Wydzial Gospodarczy Krajowego Rejestru Sadowego,
numer KRS 101882
NIP 957-07-52-316
Kapital zakladowy 200.000 zl
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-01 13:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-29 3:09 [PATCH] dma_page_list ->base_address is a userland pointer Al Viro
[not found] <f12847240803310922i628ab6c6r44e89f6b841fdf79@mail.gmail.com>
2008-04-01 13:34 ` Sosnowski, Maciej
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).