From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 19 Aug 2015 00:06:39 +0200 Subject: [U-Boot] [PATCH 2/2] ddr: altera: Repair uninited variable In-Reply-To: <55D39219.6030601@opensource.altera.com> References: <1439247577-8926-1-git-send-email-marex@denx.de> <1439247577-8926-2-git-send-email-marex@denx.de> <55D39219.6030601@opensource.altera.com> Message-ID: <201508190006.40012.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > --- > > > > drivers/ddr/altera/sequencer.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Acked-by: Dinh Nguyen Applied to u-boot-socfpga/master, thanks! Best regards, Marek Vasut