diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-04 07:13:14 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-04 07:15:53 -0400 |
commit | e1634208b77872ac0884da6d92f0d46f9a61eaa7 (patch) | |
tree | 1990281df48510a2d6a4b55c4a369d6db74d3927 /drivers/media | |
parent | 13962753190a43fcc2b4a38d064f05d667691cc8 (diff) |
V4L/DVB (4712): Fix warning when compiling on x86_i64
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/dvb-usb/usb-urb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/usb-urb.c b/drivers/media/dvb/dvb-usb/usb-urb.c index 8728cf347a71..572b2d9aa66a 100644 --- a/drivers/media/dvb/dvb-usb/usb-urb.c +++ b/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, | |||
122 | usb_free_stream_buffers(stream); | 122 | usb_free_stream_buffers(stream); |
123 | return -ENOMEM; | 123 | return -ENOMEM; |
124 | } | 124 | } |
125 | deb_mem("buffer %d: %p (dma: %u)\n", | 125 | deb_mem("buffer %d: %p (dma: %Lu)\n", |
126 | stream->buf_num, stream->buf_list[stream->buf_num], stream->dma_addr[stream->buf_num]); | 126 | stream->buf_num, |
127 | stream->buf_list[stream->buf_num], (long long)stream->dma_addr[stream->buf_num]); | ||
127 | memset(stream->buf_list[stream->buf_num],0,size); | 128 | memset(stream->buf_list[stream->buf_num],0,size); |
128 | stream->state |= USB_STATE_URB_BUF; | 129 | stream->state |= USB_STATE_URB_BUF; |
129 | } | 130 | } |