mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
driver/mtd: Fix IFC compilation warnings
'eccstat' array elements might be used uninitialized Signed-off-by: Jaiprakash Singh <b44839@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
660673af4f
commit
1d421cc677
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ static int fsl_ifc_run_command(struct mtd_info *mtd)
|
|||
struct fsl_ifc *ifc = ctrl->regs;
|
||||
u32 timeo = (CONFIG_SYS_HZ * 10) / 1000;
|
||||
u32 time_start;
|
||||
u32 eccstat[4];
|
||||
u32 eccstat[4] = {0};
|
||||
int i;
|
||||
|
||||
/* set the chip select for NAND Transaction */
|
||||
|
|
Loading…
Add table
Reference in a new issue