diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-19 00:43:52 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-19 00:43:52 -0300 |
commit | 110696025ea941774963a9e9add428865bf18350 (patch) | |
tree | dc7b2600711412cff3ebe3c0ab9125677c8b3853 /linux | |
parent | 034d0acc1b03bd1d68b729ea719978961628dd2a (diff) | |
download | mediapointer-dvb-s2-110696025ea941774963a9e9add428865bf18350.tar.gz mediapointer-dvb-s2-110696025ea941774963a9e9add428865bf18350.tar.bz2 |
saa7164: Fix compilation warning with i386
From: Mauro Carvalho Chehab <mchehab@redhat.com>
kernel-sync:
drivers/media/video/saa7164/saa7164-buffer.c: In function ‘saa7164_buffer_alloc’:
drivers/media/video/saa7164/saa7164-buffer.c:110: warning: cast to pointer from integer of different size
drivers/media/video/saa7164/saa7164-buffer.c:112: warning: cast to pointer from integer of different size
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/saa7164/saa7164-buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/saa7164/saa7164-buffer.c b/linux/drivers/media/video/saa7164/saa7164-buffer.c index 188c5b0f9..5181a0182 100644 --- a/linux/drivers/media/video/saa7164/saa7164-buffer.c +++ b/linux/drivers/media/video/saa7164/saa7164-buffer.c @@ -111,10 +111,10 @@ struct saa7164_buffer *saa7164_buffer_alloc(struct saa7164_tsport *port, memset(buf->pt_cpu, 0xff, buf->pt_size); dprintk(DBGLVL_BUF, "%s() allocated buffer @ 0x%p\n", __func__, buf); - dprintk(DBGLVL_BUF, " pci_cpu @ 0x%p dma @ 0x%p len = 0x%x\n", - buf->cpu, (void *)buf->dma, buf->pci_size); - dprintk(DBGLVL_BUF, " pt_cpu @ 0x%p pt_dma @ 0x%p len = 0x%x\n", - buf->pt_cpu, (void *)buf->pt_dma, buf->pt_size); + dprintk(DBGLVL_BUF, " pci_cpu @ 0x%p dma @ 0x%08lx len = 0x%x\n", + buf->cpu, (long)buf->dma, buf->pci_size); + dprintk(DBGLVL_BUF, " pt_cpu @ 0x%p pt_dma @ 0x%08lx len = 0x%x\n", + buf->pt_cpu, (long)buf->pt_dma, buf->pt_size); /* Format the Page Table Entries to point into the data buffer */ for (i = 0 ; i < SAA7164_PT_ENTRIES; i++) { |