From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Kalle Valo <kvalo@qca.qualcomm.com>
Cc: <ath6kl-devel@qualcomm.com>, <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] ath6kl: fix compiler warning in ath6kl_init_hw_params()
Date: Thu, 2 Feb 2012 10:14:07 +0200 [thread overview]
Message-ID: <4F2A45CF.1070203@qca.qualcomm.com> (raw)
In-Reply-To: <20120131192622.12404.74061.stgit@localhost6.localdomain6>
On 01/31/2012 09:26 PM, Kalle Valo wrote:
> Both Luis and John reported that they see a compiler warning:
>
> drivers/net/wireless/ath/ath6kl/init.c: In function 'ath6kl_init_hw_params':
> drivers/net/wireless/ath/ath6kl/init.c:1377:26: warning: ‘hw’
> may be used uninitialized in this function
>
> Oddly enough I have never seen it. But AFAICT the code is correct and
> hw is not used uninitalized so add uninitialized_var() to inform that to
> the compiler.
>
> Reported-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
> Reported-by: John W. Linville <linville@tuxdriver.com>
> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Applied.
Kalle
prev parent reply other threads:[~2012-02-02 8:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-31 19:26 [PATCH] ath6kl: fix compiler warning in ath6kl_init_hw_params() Kalle Valo
2012-02-02 8:14 ` Kalle Valo [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=4F2A45CF.1070203@qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath6kl-devel@qualcomm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.