[PATCH]internal struct dma_coherent_mem, change type of a member.

From: Marin Mitov
Date: Mon May 31 2010 - 06:00:25 EST


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@xxxxxxxxxxx>

==================================================================
--- 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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/