aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-10-11 15:26:04 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 05:55:24 -0400
commit5cecdc813b864bb89382f8dd67e75398cd8dfd43 (patch)
tree435d026f7bc37af858c2b0ab2b0b7824d6060e08 /drivers
parent841fec0054a0b4e35a0b1dec51b11b69c071ed1a (diff)
[media] saa7164: fix a warning at some printk's on i386
drivers/media/video/saa7164/saa7164-buffer.c: In function ‘saa7164_buffer_display’: drivers/media/video/saa7164/saa7164-buffer.c:76: warning: cast to pointer from integer of different size drivers/media/video/saa7164/saa7164-buffer.c:78: warning: cast to pointer from integer of different size Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/saa7164/saa7164-buffer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/saa7164/saa7164-buffer.c b/drivers/media/video/saa7164/saa7164-buffer.c
index 187e3f60fa5a..2afe9f1a6c87 100644
--- a/drivers/media/video/saa7164/saa7164-buffer.c
+++ b/drivers/media/video/saa7164/saa7164-buffer.c
@@ -73,10 +73,10 @@ void saa7164_buffer_display(struct saa7164_buffer *buf)
73 73
74 dprintk(DBGLVL_BUF, "%s() buffer @ 0x%p nr=%d\n", 74 dprintk(DBGLVL_BUF, "%s() buffer @ 0x%p nr=%d\n",
75 __func__, buf, buf->idx); 75 __func__, buf, buf->idx);
76 dprintk(DBGLVL_BUF, " pci_cpu @ 0x%p dma @ 0x%p len = 0x%x\n", 76 dprintk(DBGLVL_BUF, " pci_cpu @ 0x%p dma @ 0x%08llx len = 0x%x\n",
77 buf->cpu, (void *)buf->dma, buf->pci_size); 77 buf->cpu, (long long)buf->dma, buf->pci_size);
78 dprintk(DBGLVL_BUF, " pt_cpu @ 0x%p pt_dma @ 0x%p len = 0x%x\n", 78 dprintk(DBGLVL_BUF, " pt_cpu @ 0x%p pt_dma @ 0x%08llx len = 0x%x\n",
79 buf->pt_cpu, (void *)buf->pt_dma, buf->pt_size); 79 buf->pt_cpu, (long long)buf->pt_dma, buf->pt_size);
80 80
81 /* Format the Page Table Entries to point into the data buffer */ 81 /* Format the Page Table Entries to point into the data buffer */
82 for (i = 0 ; i < SAA7164_PT_ENTRIES; i++) { 82 for (i = 0 ; i < SAA7164_PT_ENTRIES; i++) {