projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93d2334
)
iwlwifi: fix compilation warning in 'iwl-4965.c'
author
Miguel Botón
<mboton.lkml@gmail.com>
Fri, 4 Jan 2008 22:34:35 +0000
(23:34 +0100)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:09:29 +0000
(15:09 -0800)
This patch fixes a compilation warning in 'iwl-4965.c'.
"warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’"
Signed-off-by: Miguel Botón <mboton@gmail.com
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/iwl-4965.c
b/drivers/net/wireless/iwlwifi/iwl-4965.c
index
74999af
..
0f58aca
100644
(file)
--- a/
drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/
drivers/net/wireless/iwlwifi/iwl-4965.c
@@
-3616,7
+3616,7
@@
static void iwl4965_add_radiotap(struct iwl4965_priv *priv,
if (skb_headroom(skb) < sizeof(*iwl4965_rt)) {
if (net_ratelimit())
printk(KERN_ERR "not enough headroom [%d] for "
- "radiotap head [%d]\n",
+ "radiotap head [%
z
d]\n",
skb_headroom(skb), sizeof(*iwl4965_rt));
return;
}