diff options
author | Steven Toth <stoth@kernellabs.com> | 2009-05-09 20:30:05 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:14:47 -0400 |
commit | 207b42c492cc335806957c139381eb260a808837 (patch) | |
tree | 341dbc4033f8e743664195d12c92b210ab00e672 /drivers/media/video/saa7164/saa7164-buffer.c | |
parent | 443c1228d50518f3c550e1fef490a2c9d9246ce7 (diff) |
V4L/DVB (12924): SAA7164: Fix some 32/64bit compile time warnings
SAA7164: Fix some 32/64bit compile time warnings
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-buffer.c')
-rw-r--r-- | drivers/media/video/saa7164/saa7164-buffer.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/media/video/saa7164/saa7164-buffer.c b/drivers/media/video/saa7164/saa7164-buffer.c index 4176544ee019..240c6dcb4961 100644 --- a/drivers/media/video/saa7164/saa7164-buffer.c +++ b/drivers/media/video/saa7164/saa7164-buffer.c | |||
@@ -107,19 +107,16 @@ struct saa7164_buffer *saa7164_buffer_alloc(struct saa7164_tsport *port, | |||
107 | memset(buf->pt_cpu, 0xff, buf->pt_size); | 107 | memset(buf->pt_cpu, 0xff, buf->pt_size); |
108 | 108 | ||
109 | dprintk(DBGLVL_BUF, "%s() allocated buffer @ 0x%p\n", __func__, buf); | 109 | dprintk(DBGLVL_BUF, "%s() allocated buffer @ 0x%p\n", __func__, buf); |
110 | dprintk(DBGLVL_BUF, " pci_cpu @ 0x%llx dma @ 0x%llx len = 0x%x\n", | 110 | dprintk(DBGLVL_BUF, " pci_cpu @ 0x%p dma @ 0x%p len = 0x%x\n", |
111 | (u64)buf->cpu, (u64)buf->dma, buf->pci_size); | 111 | buf->cpu, (void *)buf->dma, buf->pci_size); |
112 | dprintk(DBGLVL_BUF, " pt_cpu @ 0x%llx pt_dma @ 0x%llx len = 0x%x\n", | 112 | dprintk(DBGLVL_BUF, " pt_cpu @ 0x%p pt_dma @ 0x%p len = 0x%x\n", |
113 | (u64)buf->pt_cpu, (u64)buf->pt_dma, buf->pt_size); | 113 | buf->pt_cpu, (void *)buf->pt_dma, buf->pt_size); |
114 | 114 | ||
115 | /* Format the Page Table Entries to point into the data buffer */ | 115 | /* Format the Page Table Entries to point into the data buffer */ |
116 | for (i = 0 ; i < SAA7164_PT_ENTRIES; i++) { | 116 | for (i = 0 ; i < SAA7164_PT_ENTRIES; i++) { |
117 | 117 | ||
118 | *(buf->pt_cpu + i) = buf->dma + (i * 0x1000); /* TODO */ | 118 | *(buf->pt_cpu + i) = buf->dma + (i * 0x1000); /* TODO */ |
119 | 119 | ||
120 | dprintk(DBGLVL_BUF, " pt[%02d] = 0x%llx -> 0x%llx\n", | ||
121 | i, (u64)buf->pt_cpu, (u64)*(buf->pt_cpu)); | ||
122 | |||
123 | } | 120 | } |
124 | 121 | ||
125 | goto ret; | 122 | goto ret; |