From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] ddr: altera: Repair uninited variable
Date: Wed, 19 Aug 2015 00:06:39 +0200 [thread overview]
Message-ID: <201508190006.40012.marex@denx.de> (raw)
In-Reply-To: <55D39219.6030601@opensource.altera.com>
On Tuesday, August 18, 2015 at 10:14:17 PM, Dinh Nguyen wrote:
> On 8/10/15 5:59 PM, Marek Vasut wrote:
> > Fix the following problem:
> > drivers/ddr/altera/sequencer.c: In function 'sdram_calibration_full':
> > drivers/ddr/altera/sequencer.c:1943:25: warning: 'found_failing_read' may
> > be used uninitialized in this function [-Wmaybe-uninitialized]
> >
> > if (found_passing_read && found_failing_read)
> >
> > ^
> >
> > drivers/ddr/altera/sequencer.c:1803:26: note: 'found_failing_read' was
> > declared here
> >
> > u32 found_passing_read, found_failing_read, initial_failing_dtap;
> >
> > ^
> >
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > ---
> >
> > drivers/ddr/altera/sequencer.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Applied to u-boot-socfpga/master, thanks!
Best regards,
Marek Vasut
next prev parent reply other threads:[~2015-08-18 22:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 22:59 [U-Boot] [PATCH 1/2] ddr: altera: Replace float multiplication with integer one Marek Vasut
2015-08-10 22:59 ` [U-Boot] [PATCH 2/2] ddr: altera: Repair uninited variable Marek Vasut
2015-08-18 20:14 ` Dinh Nguyen
2015-08-18 22:06 ` Marek Vasut [this message]
2015-08-18 20:13 ` [U-Boot] [PATCH 1/2] ddr: altera: Replace float multiplication with integer one Dinh Nguyen
2015-08-18 22:07 ` Marek Vasut
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=201508190006.40012.marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/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