From: Marin Mitov Date: Mon, 31 May 2010 10:03:04 +0000 (+0300) Subject: Driver core: internal struct dma_coherent_mem, change type of a member. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed1d218c95c6846416ddb39085b20a5b3c0872e4;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Driver core: internal struct dma_coherent_mem, change type of a member. 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/base/dma-coherent.c b/drivers/base/dma-coherent.c index d4d8ce53886..f369e279598 100644 --- a/drivers/base/dma-coherent.c +++ b/drivers/base/dma-coherent.c @@ -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;