[U-Boot] [PATCH v2 2/3] atmel_nand: add '\n' in the end of error message for better display
Andreas Bießmann
andreas.devel at googlemail.com
Wed Jan 27 13:10:17 CET 2016
On 25.01.2016 07:06, Wenyou Yang wrote:
> From: Josh Wu <josh.wu at atmel.com>
>
> Also align the open parenthesis.
>
> Signed-off-by: Josh Wu <josh.wu at atmel.com>
> Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>
> ---
>
> Changes in v2: None
>
> drivers/mtd/nand/atmel_nand.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
> index e179f74..852883b 100644
> --- a/drivers/mtd/nand/atmel_nand.c
> +++ b/drivers/mtd/nand/atmel_nand.c
> @@ -821,8 +821,8 @@ static int atmel_pmecc_nand_init_params(struct nand_chip *nand,
> * from ONFI.
> */
> if (pmecc_choose_ecc(host, nand, &cap, §or_size)) {
> - dev_err(host->dev, "The NAND flash's ECC requirement(ecc_bits: %d, sector_size: %d) are not support!",
> - cap, sector_size);
> + dev_err(host->dev, "Required ECC %d bits in %d bytes not supported!\n",
> + cap, sector_size);
> return -EINVAL;
> }
>
>
More information about the U-Boot
mailing list