Re: pull request: wireless-next-2.6 2008-07-14

3 messages, 3 authors, 2008-07-16 · open the first message on its own page

Re: pull request: wireless-next-2.6 2008-07-14

From: Tomas Winkler <hidden>
Date: 2008-07-16 12:49:34

On Tue, Jul 15, 2008 at 6:45 AM, David Miller [off-list ref] wrote:
From: "John W. Linville" <redacted>
Date: Mon, 14 Jul 2008 15:23:02 -0400
quoted
Here is one last(?) round of miscellaneous patches I hope to get into
2.6.27.  There are mostly driver updates, including a sizable iwlwifi
set of changes.

Please let me know if there are problems!
Pulled into net-next-2.6, thanks John.

If someone could fix the following wireless warnings I'd appreciate
it.

Thanks!
drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: format '%lld' expects type 'long long int', but argument 6 has type 's64'
drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: format '%lld' expects type 'long long int', but argument 7 has type 'u64'
I cannot reproduce this. Wasn't this conversion already solved or
still need to cast to long long int?
Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: pull request: wireless-next-2.6 2008-07-14

From: David Miller <davem@davemloft.net>
Date: 2008-07-16 20:00:09

From: "Tomas Winkler" <redacted>
Date: Wed, 16 Jul 2008 15:49:34 +0300
On Tue, Jul 15, 2008 at 6:45 AM, David Miller [off-list ref] wrote:
quoted
From: "John W. Linville" <redacted>
Date: Mon, 14 Jul 2008 15:23:02 -0400

drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: format '%lld' expects type 'long long int', but argument 6 has type 's64'
drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: format '%lld' expects type 'long long int', but argument 7 has type 'u64'
I cannot reproduce this. Wasn't this conversion already solved or
still need to cast to long long int?
You have to cast u64/s64 values to long long if you want to print them
using %llX specifiers, because some 64-bit platforms define these
types as plain "long".

Re: pull request: wireless-next-2.6 2008-07-14

From: John W. Linville <hidden>
Date: 2008-07-16 20:31:15

On Wed, Jul 16, 2008 at 01:00:07PM -0700, David Miller wrote:
From: "Tomas Winkler" <redacted>
Date: Wed, 16 Jul 2008 15:49:34 +0300
quoted
On Tue, Jul 15, 2008 at 6:45 AM, David Miller [off-list ref] wrote:
quoted
From: "John W. Linville" <redacted>
Date: Mon, 14 Jul 2008 15:23:02 -0400

drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: format '%lld' expects type 'long long int', but argument 6 has type 's64'
drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: format '%lld' expects type 'long long int', but argument 7 has type 'u64'
I cannot reproduce this. Wasn't this conversion already solved or
still need to cast to long long int?
You have to cast u64/s64 values to long long if you want to print them
using %llX specifiers, because some 64-bit platforms define these
types as plain "long".
There were a number of such warnings fixed in iwlwifi previously.
It is possible that either one got lost in a merge conflict or this
new one simply is reminding Tomas of one of the old ones.  Either way,
it seems to be fixed now.

John
-- 
John W. Linville
linville@tuxdriver.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help