From: maxime.coquelin@st.com (Maxime Coquelin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] clk: st: avoid build warnings
Date: Thu, 5 Jun 2014 10:47:45 +0200 [thread overview]
Message-ID: <53902EB1.1050208@st.com> (raw)
In-Reply-To: <10904360.yBfDy9q35b@wuerfel>
Hi Arnd,
On 06/04/2014 05:32 PM, Arnd Bergmann wrote:
> This driver prints some variables in debugging output when
> their contents are undefined.
>
> drivers/clk/st/clkgen-fsyn.c: In function 'quadfs_pll_fs660c32_round_rate':
> drivers/clk/st/clkgen-fsyn.c:419:93: warning: 'params.sdiv' may be used uninitialized in this function [-Wmaybe-uninitialized]
> pr_debug("%s: %s new rate %ld [sdiv=0x%x,md=0x%x,pe=0x%x,nsdiv3=%u]\n",
> ^
> drivers/clk/st/clkgen-fsyn.c:414:16: note: 'params.sdiv' was declared here
> struct stm_fs params;
> ^
>
> This removes them from the output.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>
You can add my:
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Thanks!
Maxime
prev parent reply other threads:[~2014-06-05 8:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-04 15:32 [PATCH] clk: st: avoid build warnings Arnd Bergmann
2014-06-05 8:47 ` Maxime Coquelin [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=53902EB1.1050208@st.com \
--to=maxime.coquelin@st.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).