From: Michael Buesch <mb@bu3sch.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: John Linville <linville@tuxdriver.com>,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] b43: fix two warnings
Date: Wed, 2 Dec 2009 13:42:30 +0100 [thread overview]
Message-ID: <200912021342.33239.mb@bu3sch.de> (raw)
In-Reply-To: <1259749236.32171.151.camel@johannes.local>
On Wednesday 02 December 2009 11:20:36 Johannes Berg wrote:
> My gcc appears to be able to see past the function
> boundary and notices that the variable 'behaviour'
> could be used uninitialised:
>
> drivers/net/wireless/b43/leds.c: In function ‘b43_leds_register’:
> drivers/net/wireless/b43/leds.c:339: warning: ‘behaviour’ may be used uninitialized in this function
> drivers/net/wireless/b43/leds.c: In function ‘b43_leds_init’:
> drivers/net/wireless/b43/leds.c:262: warning: ‘behaviour’ may be used uninitialized in this function
>
> because b43_led_get_sprominfo() didn't initialise
> it in all cases.
>
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
ack
--
Greetings, Michael.
prev parent reply other threads:[~2009-12-02 12:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-02 10:20 [PATCH] b43: fix two warnings Johannes Berg
2009-12-02 12:42 ` Michael Buesch [this message]
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=200912021342.33239.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/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;
as well as URLs for NNTP newsgroup(s).