diff options
author | Andrew Morton <akpm@osdl.org> | 2005-11-09 00:35:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:06 -0500 |
commit | d371d6a04c6b50125e8dbf9a2234cc694f6e3cdf (patch) | |
tree | b7480e83bc0978332c676ec220f3bf310915b697 /drivers/media/dvb/dvb-usb | |
parent | de122dfda505e693f75e73628e026e4f6250ede7 (diff) |
[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>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb-usb-urb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-urb.c b/drivers/media/dvb/dvb-usb/dvb-usb-urb.c index f5799a4c228e..36b7048c02d2 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-urb.c +++ b/drivers/media/dvb/dvb-usb/dvb-usb-urb.c | |||
@@ -196,7 +196,9 @@ static int dvb_usb_allocate_stream_buffers(struct dvb_usb_device *d, int num, un | |||
196 | dvb_usb_free_stream_buffers(d); | 196 | dvb_usb_free_stream_buffers(d); |
197 | return -ENOMEM; | 197 | return -ENOMEM; |
198 | } | 198 | } |
199 | deb_mem("buffer %d: %p (dma: %d)\n",d->buf_num,d->buf_list[d->buf_num],d->dma_addr[d->buf_num]); | 199 | deb_mem("buffer %d: %p (dma: %llu)\n", |
200 | d->buf_num, d->buf_list[d->buf_num], | ||
201 | (unsigned long long)d->dma_addr[d->buf_num]); | ||
200 | memset(d->buf_list[d->buf_num],0,size); | 202 | memset(d->buf_list[d->buf_num],0,size); |
201 | } | 203 | } |
202 | deb_mem("allocation successful\n"); | 204 | deb_mem("allocation successful\n"); |