projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98d530f
)
ARM: PL08x: fix a warning
author
Dan Williams
<dan.j.williams@intel.com>
Sat, 15 Jan 2011 01:51:11 +0000
(17:51 -0800)
committer
Dan Williams
<dan.j.williams@intel.com>
Sat, 15 Jan 2011 01:51:11 +0000
(17:51 -0800)
drivers/dma/amba-pl08x.c: In function 'pl08x_start_txd':
drivers/dma/amba-pl08x.c:205: warning: dereferencing 'void *' pointer
We never dereference llis_va aside from assigning it to a struct
pl08x_lli pointer or calculating the address of array element 0.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
include/linux/amba/pl08x.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/amba/pl08x.h
b/include/linux/amba/pl08x.h
index 933b4ed12be5469a91d7d625e6455e62a12daa21..5b87b6aac3f8a6ae6ce32cead28bbe89a2ddb41f 100644
(file)
--- a/
include/linux/amba/pl08x.h
+++ b/
include/linux/amba/pl08x.h
@@
-118,7
+118,7
@@
struct pl08x_txd {
dma_addr_t dst_addr;
size_t len;
dma_addr_t llis_bus;
-
void
*llis_va;
+
struct pl08x_lli
*llis_va;
bool active;
/* Default cctl value for LLIs */
u32 cctl;