From: Andrew Morton Date: Wed, 16 Jan 2008 10:56:33 +0000 (-0800) Subject: drivers/net/wireless/iwlwifi/iwl-3945.c: fix printk warning X-Git-Tag: v2.6.25-rc1~1162^2~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2594d07abdbf49f9bd3df7e02708716de0f59e9;p=platform%2Fkernel%2Flinux-3.10.git drivers/net/wireless/iwlwifi/iwl-3945.c: fix printk warning drivers/net/wireless/iwlwifi/iwl-3945.c: In function 'iwl3945_add_radiotap': drivers/net/wireless/iwlwifi/iwl-3945.c:269: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Signed-off-by: Andrew Morton Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 0779a23..76c4ed1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c @@ -265,7 +265,7 @@ void iwl3945_add_radiotap(struct iwl3945_priv *priv, struct sk_buff *skb, if (skb_headroom(skb) < sizeof(*iwl3945_rt)) { if (net_ratelimit()) printk(KERN_ERR "not enough headroom [%d] for " - "radiotap head [%d]\n", + "radiotap head [%zd]\n", skb_headroom(skb), sizeof(*iwl3945_rt)); return; }