Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4ecd41bd0ff5dfcb4f2c59d980f9196c160882be
Commit:     4ecd41bd0ff5dfcb4f2c59d980f9196c160882be
Parent:     655b4d16ac5e551e5c8dac5812156edfd87bf822
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Tue Aug 21 02:15:45 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:50:38 2007 -0700

    [PATCH] libertas: printk warning fixes
    
    drivers/net/wireless/libertas/if_cs.c: In function 'if_cs_prog_helper':
    drivers/net/wireless/libertas/if_cs.c:462: warning: format '%d' expects 
type 'int', but argument 3 has type 'size_t'
    drivers/net/wireless/libertas/if_cs.c: In function 'if_cs_prog_real':
    drivers/net/wireless/libertas/if_cs.c:538: warning: format '%d' expects 
type 'int', but argument 3 has type 'size_t'
    
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/libertas/if_cs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/libertas/if_cs.c 
b/drivers/net/wireless/libertas/if_cs.c
index 4dffc5c..09c87df 100644
--- a/drivers/net/wireless/libertas/if_cs.c
+++ b/drivers/net/wireless/libertas/if_cs.c
@@ -459,7 +459,7 @@ static int if_cs_prog_helper(struct if_cs_card *card)
                ret = -ENODEV;
                goto done;
        }
-       lbs_deb_cs("helper size %d\n", fw->size);
+       lbs_deb_cs("helper size %td\n", fw->size);
 
        /* "Set the 5 bytes of the helper image to 0" */
        /* Not needed, this contains an ARM branch instruction */
@@ -535,7 +535,7 @@ static int if_cs_prog_real(struct if_cs_card *card)
                ret = -ENODEV;
                goto done;
        }
-       lbs_deb_cs("fw size %d\n", fw->size);
+       lbs_deb_cs("fw size %td\n", fw->size);
 
        ret = if_cs_poll_while_fw_download(card, IF_CS_C_SQ_READ_LOW, 
IF_CS_C_SQ_HELPER_OK);
        if (ret < 0) {
-
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