diff options
Diffstat (limited to 'drivers/media/video/cx18/cx18-queue.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-queue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/cx18/cx18-queue.c b/drivers/media/video/cx18/cx18-queue.c index 8a4dd821fd91..a31da49f9123 100644 --- a/drivers/media/video/cx18/cx18-queue.c +++ b/drivers/media/video/cx18/cx18-queue.c | |||
@@ -217,10 +217,10 @@ int cx18_stream_alloc(struct cx18_stream *s) | |||
217 | s->name, s->buffers, s->buf_size, | 217 | s->name, s->buffers, s->buf_size, |
218 | s->buffers * s->buf_size / 1024); | 218 | s->buffers * s->buf_size / 1024); |
219 | 219 | ||
220 | if (((char *)&cx->scb->cpu_mdl[cx->mdl_offset + s->buffers] - | 220 | if (((char __iomem *)&cx->scb->cpu_mdl[cx->mdl_offset + s->buffers] - |
221 | (char *)cx->scb) > SCB_RESERVED_SIZE) { | 221 | (char __iomem *)cx->scb) > SCB_RESERVED_SIZE) { |
222 | unsigned bufsz = (((char *)cx->scb) + SCB_RESERVED_SIZE - | 222 | unsigned bufsz = (((char __iomem *)cx->scb) + SCB_RESERVED_SIZE - |
223 | ((char *)cx->scb->cpu_mdl)); | 223 | ((char __iomem *)cx->scb->cpu_mdl)); |
224 | 224 | ||
225 | CX18_ERR("Too many buffers, cannot fit in SCB area\n"); | 225 | CX18_ERR("Too many buffers, cannot fit in SCB area\n"); |
226 | CX18_ERR("Max buffers = %zd\n", | 226 | CX18_ERR("Max buffers = %zd\n", |