login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
4
Re: [PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Michael Buesch <mb@...>
To: Miguel <mboton.lkml@...>
Cc: <linux-kernel@...>, <linux-wireless@...>, <yi.zhu@...>, <linville@...>
Subject:
Re: [PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'
Date: Friday, January 4, 2008 - 6:15 pm
On Friday 04 January 2008 23:05:54 Miguel Botón wrote:
quoted text
> This patch fixes a compilation warning in 'iwl-4965.c'. > > Signed-off-by: Miguel Botón <mboton@gmail.com> > > diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c > index 74999af..92237cd 100644 > --- 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 [%ld]\n", > skb_headroom(skb), sizeof(*iwl4965_rt));
I think %zu is the correct and portable integer conversion for a size_t type. The kernel implementation seems to support it. -- Greetings Michael. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'
, Miguel
, (Fri Jan 4, 6:05 pm)
Re: [PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'
, Miguel
, (Fri Jan 4, 6:34 pm)
Re: [PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'
, Randy Dunlap
, (Fri Jan 4, 6:15 pm)
Re: [PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'
, Michael Buesch
, (Fri Jan 4, 6:15 pm)
Re: [PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'
, Roland Dreier
, (Fri Jan 4, 6:13 pm)
Re: [PATCH] iwlwifi: fix compilation warning in 'iwl-4965.c'
, David Miller
, (Fri Jan 4, 6:31 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
H. Peter Anvin
Re: [RFC 00/15] x86_64: Optimize percpu accesses
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Eric W. Biederman
Remaining straight forward kthread API conversions...
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
linux-netdev
:
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
1089 guests
online.
Online users
plianc20
strcmp
Syndicate