[U-Boot] [PATCH 2/2] ddr: altera: Repair uninited variable
Dinh Nguyen
dinguyen at opensource.altera.com
Tue Aug 18 22:14:17 CEST 2015
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 at denx.de>
> ---
> drivers/ddr/altera/sequencer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Acked-by: Dinh Nguyen <dinguyen at opensource.altera.com>
Thanks,
Dinh
More information about the U-Boot
mailing list