Commit ed1d218c95c6846416ddb39085b20a5b3c0872e4

Authored by Marin Mitov
Committed by Greg Kroah-Hartman
1 parent 94f17cd788

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 <mitov@issp.bas.bg>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/base/dma-coherent.c
... ... @@ -8,7 +8,7 @@
8 8  
9 9 struct dma_coherent_mem {
10 10 void *virt_base;
11   - u32 device_base;
  11 + dma_addr_t device_base;
12 12 int size;
13 13 int flags;
14 14 unsigned long *bitmap;