[U-Boot] [PATCH 2/9] drivers/mtd/nand/nand_spl_simple.c: Fix GCC 4.6 warnings
Scott Wood
scottwood at freescale.com
Wed Dec 7 23:10:54 CET 2011
On 12/03/2011 10:46 AM, Anatolij Gustschin wrote:
> Fix warnings for both cases:
>
> definded CONFIG_SYS_NAND_HW_ECC_OOBFIRST:
> nand_spl_simple.c: In function 'nand_read_page':
> nand_spl_simple.c:156:6: warning: variable 'stat' set but not used
> [-Wunused-but-set-variable]
>
> not definded CONFIG_SYS_NAND_HW_ECC_OOBFIRST:
> nand_spl_simple.c: In function 'nand_read_page':
> nand_spl_simple.c:196:6: warning: variable 'stat' set but not used
> [-Wunused-but-set-variable]
>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Scott Wood <scottwood at freescale.com>
> ---
> drivers/mtd/nand/nand_spl_simple.c | 6 ++----
> 1 files changed, 2 insertions(+), 4 deletions(-)
Applied to u-boot-nand-flash
-Scott
More information about the U-Boot
mailing list