From: Johannes Berg <johannes@sipsolutions.net>
To: Dan Williams <dcbw@redhat.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: libertas warnings & bugs
Date: Wed, 18 Jul 2007 16:00:37 +0200 [thread overview]
Message-ID: <1184767237.11352.2.camel@johannes.berg> (raw)
[-- Attachment #1: Type: text/plain, Size: 973 bytes --]
Hi Dan,
As promised a few more warnings from libertas from my ppc64 build.
drivers/net/wireless/libertas/cmd.c: In function ‘wlan_cmd_802_11_set_wep’:
drivers/net/wireless/libertas/cmd.c:189: warning: large integer implicitly truncated to unsigned type
drivers/net/wireless/libertas/cmd.c:195: warning: large integer implicitly truncated to unsigned type
The code is:
wep->keytype[i] = cpu_to_le16(cmd_type_wep_40_bit);
and it's fairly obvious why it warns: keytype[i] is a u8 so always ends
up 0...
drivers/net/wireless/libertas/debugfs.c: In function ‘libertas_getscantable’:
drivers/net/wireless/libertas/debugfs.c:85: warning: format ‘%08llx’ expects type ‘long long unsigned int’, but argument 4 has type ‘u64’
drivers/net/wireless/libertas/debugfs.c:85: warning: format ‘%08llx’ expects type ‘long long unsigned int’, but argument 4 has type ‘u64’
probably just needs a cast to unsigned long long.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
next reply other threads:[~2007-07-18 15:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 14:00 Johannes Berg [this message]
2007-07-18 15:50 ` libertas warnings & bugs Dan Williams
2007-07-19 20:00 ` Dan Williams
2007-07-19 20:56 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1184767237.11352.2.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=dcbw@redhat.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox