Archived
14
0
Fork 0

[PATCH] em28xx: %zd for size_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Al Viro 2005-12-15 09:17:39 +00:00 committed by Linus Torvalds
parent 53b3de1ea2
commit 8bcc247617

View file

@ -126,7 +126,7 @@ u32 em28xx_request_buffers(struct em28xx *dev, u32 count)
const size_t imagesize = PAGE_ALIGN(dev->frame_size); /*needs to be page aligned cause the buffers can be mapped individually! */ const size_t imagesize = PAGE_ALIGN(dev->frame_size); /*needs to be page aligned cause the buffers can be mapped individually! */
void *buff = NULL; void *buff = NULL;
u32 i; u32 i;
em28xx_coredbg("requested %i buffers with size %i", count, imagesize); em28xx_coredbg("requested %i buffers with size %zd", count, imagesize);
if (count > EM28XX_NUM_FRAMES) if (count > EM28XX_NUM_FRAMES)
count = EM28XX_NUM_FRAMES; count = EM28XX_NUM_FRAMES;