From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 5 Sep 2008 21:46:09 +0200 Subject: [U-Boot] [PATCH] Fix compiler warning in mpc8xxx ddr code In-Reply-To: <1220643629-1653-1-git-send-email-galak@kernel.crashing.org> References: <1220643629-1653-1-git-send-email-galak@kernel.crashing.org> Message-ID: <20080905194609.GF1249@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 14:40 Fri 05 Sep , Kumar Gala wrote: > ctrl_regs.c: In function 'compute_fsl_memctl_config_regs': > ctrl_regs.c:523: warning: 'caslat' may be used uninitialized in this function > ctrl_regs.c:523: note: 'caslat' was declared here > > Add a warning in DDR1 case if cas_latency isn't a value we know about. > > Signed-off-by: Kumar Gala > --- > cpu/mpc8xxx/ddr/ctrl_regs.c | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > Thanks it's fix my warnings Ack-by: Jean-Christophe PLAGNIOL-VILLARD Best Regards, J.