projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
660673a
)
driver/mtd: Fix IFC compilation warnings
author
Jaiprakash Singh
<b44839@freescale.com>
Thu, 27 Nov 2014 07:08:12 +0000
(12:38 +0530)
committer
York Sun
<yorksun@freescale.com>
Thu, 11 Dec 2014 17:42:32 +0000
(09:42 -0800)
'eccstat' array elements might be used uninitialized
Signed-off-by: Jaiprakash Singh <b44839@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/mtd/nand/fsl_ifc_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/fsl_ifc_nand.c
b/drivers/mtd/nand/fsl_ifc_nand.c
index
81b5070
..
b283eae
100644
(file)
--- a/
drivers/mtd/nand/fsl_ifc_nand.c
+++ b/
drivers/mtd/nand/fsl_ifc_nand.c
@@
-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;
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 */
int i;
/* set the chip select for NAND Transaction */