diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-25 05:55:06 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-07-01 05:27:31 -0400 |
commit | efcc28981745bc6aca88acb2d4d37d87f090a80a (patch) | |
tree | 16885dd51e2e10841dd8b011ff782dec7a8e54b8 /drivers/dma | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) |
dma/timb_dma: compile warning on 32 bit
This silences a compile warning on 32 bit systems:
drivers/dma/timb_dma.c:203: warning: cast to pointer from integer of different size
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/timb_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c index a1bf77c1993f..464fad58dae9 100644 --- a/drivers/dma/timb_dma.c +++ b/drivers/dma/timb_dma.c | |||
@@ -200,8 +200,8 @@ static int td_fill_desc(struct timb_dma_chan *td_chan, u8 *dma_desc, | |||
200 | return -EINVAL; | 200 | return -EINVAL; |
201 | } | 201 | } |
202 | 202 | ||
203 | dev_dbg(chan2dev(&td_chan->chan), "desc: %p, addr: %p\n", | 203 | dev_dbg(chan2dev(&td_chan->chan), "desc: %p, addr: 0x%llx\n", |
204 | dma_desc, (void *)sg_dma_address(sg)); | 204 | dma_desc, (unsigned long long)sg_dma_address(sg)); |
205 | 205 | ||
206 | dma_desc[7] = (sg_dma_address(sg) >> 24) & 0xff; | 206 | dma_desc[7] = (sg_dma_address(sg) >> 24) & 0xff; |
207 | dma_desc[6] = (sg_dma_address(sg) >> 16) & 0xff; | 207 | dma_desc[6] = (sg_dma_address(sg) >> 16) & 0xff; |