diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-04 08:13:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-04 08:13:14 -0300 |
commit | 4199f2b1eb966de6f1fbd80324cabff9cd102106 (patch) | |
tree | db88458c1662a28884aae6b22b3d391ab70e365c | |
parent | 0154689ed368b7585479d0282e6b4e823e5dac85 (diff) | |
download | mediapointer-dvb-s2-4199f2b1eb966de6f1fbd80324cabff9cd102106.tar.gz mediapointer-dvb-s2-4199f2b1eb966de6f1fbd80324cabff9cd102106.tar.bz2 |
Fix warning when compiling on x86_i64
From: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/usb-urb.c: In function 'usb_allocate_stream_buffers':
drivers/media/dvb/dvb-usb/usb-urb.c:125: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'long long unsigned int'
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/usb-urb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/usb-urb.c b/linux/drivers/media/dvb/dvb-usb/usb-urb.c index 8728cf347..572b2d9aa 100644 --- a/linux/drivers/media/dvb/dvb-usb/usb-urb.c +++ b/linux/drivers/media/dvb/dvb-usb/usb-urb.c @@ -122,8 +122,9 @@ static int usb_allocate_stream_buffers(struct usb_data_stream *stream, int num, usb_free_stream_buffers(stream); return -ENOMEM; } - deb_mem("buffer %d: %p (dma: %u)\n", - stream->buf_num, stream->buf_list[stream->buf_num], stream->dma_addr[stream->buf_num]); + deb_mem("buffer %d: %p (dma: %Lu)\n", + stream->buf_num, +stream->buf_list[stream->buf_num], (long long)stream->dma_addr[stream->buf_num]); memset(stream->buf_list[stream->buf_num],0,size); stream->state |= USB_STATE_URB_BUF; } |