projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f17cd
)
Driver core: internal struct dma_coherent_mem, change type of a member.
author
Marin Mitov
<mitov@issp.bas.bg>
Mon, 31 May 2010 10:03:04 +0000
(13:03 +0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 5 Aug 2010 20:53:33 +0000
(13:53 -0700)
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>
drivers/base/dma-coherent.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/dma-coherent.c
b/drivers/base/dma-coherent.c
index d4d8ce53886aa8276165ef151aab2dca46b2ecac..f369e2795985a66d0e00c399464bef711acbf697 100644
(file)
--- 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;