* [PATCH]internal struct dma_coherent_mem, change type of a member.
@ 2010-05-31 10:03 Marin Mitov
0 siblings, 0 replies; only message in thread
From: Marin Mitov @ 2010-05-31 10:03 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-kernel
Hi Greg,
struct dma_coherent_mem in drivers/base/dma-coherent.c
has member 'device_base' that is of type u32,
but is assigned value of type dma_addr_t, which may be
64 bits for x86_64. Change the type to dma_addr_t.
Signed-off-by: Marin Mitov <mitov@issp.bas.bg>
==================================================================
--- a/drivers/base/dma-coherent.c 2010-05-31 11:28:35.000000000 +0300
+++ b/drivers/base/dma-coherent.c 2010-05-31 11:29:43.000000000 +0300
@@ -8,7 +8,7 @@
struct dma_coherent_mem {
void *virt_base;
- u32 device_base;
+ dma_addr_t device_base;
int size;
int flags;
unsigned long *bitmap;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-31 10:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-31 10:03 [PATCH]internal struct dma_coherent_mem, change type of a member Marin Mitov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®