From: Josh Wu Date: Mon, 25 Jan 2016 06:06:34 +0000 (+0800) Subject: atmel_nand: add '\n' in the end of error message for better display X-Git-Tag: v2016.03-rc1~1^2~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4c6a6ea3e11844f1b7242d7ed4468bb80ae81369;p=u-boot atmel_nand: add '\n' in the end of error message for better display Also align the open parenthesis. Signed-off-by: Josh Wu Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index e179f74229..852883bfb2 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; }