[U-Boot] [PATCH v7 4/5] mtd: nand: omap: optimized chip->ecc.correct() for H/W ECC schemes

Scott Wood scottwood at freescale.com
Tue Oct 8 19:35:41 CEST 2013


On Mon, 2013-09-30 at 19:43 +0530, Pekon Gupta wrote:
> +	/* check calculated ecc */
> +	for (i = 0; i < chip->ecc.bytes && !ecc_flag; i++)
> +		if (calc_ecc[i] != 0x00)
> +			ecc_flag = 1;

U-Boot code style wants braces around multi-line bodies.

-Scott





More information about the U-Boot mailing list