[PATCH] dvb-usb-urb printk fix
drivers/media/dvb/dvb-usb/dvb-usb-urb.c: In function `dvb_usb_allocate_stream_buffers': drivers/media/dvb/dvb-usb/dvb-usb-urb.c:199: warning: int format, different type arg (arg 4) Don't assume that dma_addr_t is 32-bit. (dvb has quite a few such warnings. Please compile it with a 64-bit compiler, fix them up - some are oopsable). Cc: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
de122dfda5
commit
d371d6a04c
|
@ -196,7 +196,9 @@ static int dvb_usb_allocate_stream_buffers(struct dvb_usb_device *d, int num, un
|
||||||
dvb_usb_free_stream_buffers(d);
|
dvb_usb_free_stream_buffers(d);
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
deb_mem("buffer %d: %p (dma: %d)\n",d->buf_num,d->buf_list[d->buf_num],d->dma_addr[d->buf_num]);
|
deb_mem("buffer %d: %p (dma: %llu)\n",
|
||||||
|
d->buf_num, d->buf_list[d->buf_num],
|
||||||
|
(unsigned long long)d->dma_addr[d->buf_num]);
|
||||||
memset(d->buf_list[d->buf_num],0,size);
|
memset(d->buf_list[d->buf_num],0,size);
|
||||||
}
|
}
|
||||||
deb_mem("allocation successful\n");
|
deb_mem("allocation successful\n");
|
||||||
|
|
Loading…
Reference in New Issue