Skip to content

Commit

Permalink
ARM: PL08x: fix a warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Williams committed Jan 15, 2011
1 parent 98d530f commit 96a608a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/amba/pl08x.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 96a608a

Please sign in to comment.