Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3f51451b516eeb19d3c1ea311ee8845fc80b5135
Commit:     3f51451b516eeb19d3c1ea311ee8845fc80b5135
Parent:     7972f9880c8c812332a56da7cfa4523d01ea310b
Author:     Michael Krufky <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 21 16:20:23 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:04:14 2008 -0200

    V4L/DVB (6894): xc5000: fix build warning
    
    Fix the following build warning:
    
    xc5000.c:560: warning: format '%d' expects type 'int',
              but argument 2 has type 'size_t'
    
    On many architectrues size_t is unsigned long, and may not be printed with 
%d.
    Use %Zu instead.
    
    
    Signed-off-by: Michael Krufky <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/dvb/frontends/xc5000.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/media/dvb/frontends/xc5000.c 
b/drivers/media/dvb/frontends/xc5000.c
index 9edd071..106004e 100644
--- a/drivers/media/dvb/frontends/xc5000.c
+++ b/drivers/media/dvb/frontends/xc5000.c
@@ -533,7 +533,8 @@ static int xc5000_fwupload(struct dvb_frontend* fe)
                printk(KERN_ERR "xc5000: Upload failed. (file not found?)\n");
                ret = XC_RESULT_RESET_FAILURE;
        } else {
-               printk(KERN_INFO "xc5000: firmware read %d bytes.\n", fw->size);
+               printk(KERN_INFO "xc5000: firmware read %Zu bytes.\n",
+                      fw->size);
                ret = XC_RESULT_SUCCESS;
        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to