From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/3] atmel_nand: add '\n' in the end of error message for better display
Date: Wed, 27 Jan 2016 13:10:17 +0100 [thread overview]
Message-ID: <56A8B3A9.2020707@gmail.com> (raw)
In-Reply-To: <1453701995-23926-3-git-send-email-wenyou.yang@atmel.com>
On 25.01.2016 07:06, Wenyou Yang wrote:
> From: Josh Wu <josh.wu@atmel.com>
>
> Also align the open parenthesis.
>
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Andreas Bie?mann <andreas.devel@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;
> }
>
>
next prev parent reply other threads:[~2016-01-27 12:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-25 6:06 [U-Boot] [PATCH v2 0/3] atmel_nand: misc update in atmel nandflash driver Wenyou Yang
2016-01-25 6:06 ` [U-Boot] [PATCH v2 1/3] atmel_nand: use nand ecc_{strength, step}_ds instead of our own function Wenyou Yang
2016-01-27 13:00 ` [U-Boot] [U-Boot, v2, " Andreas Bießmann
2016-01-25 6:06 ` [U-Boot] [PATCH v2 2/3] atmel_nand: add '\n' in the end of error message for better display Wenyou Yang
2016-01-27 12:10 ` Andreas Bießmann [this message]
2016-01-27 13:00 ` [U-Boot] [U-Boot, v2, " Andreas Bießmann
2016-01-25 6:06 ` [U-Boot] [PATCH v2 3/3] atmel_nand: use the definition: PMECC_OOB_RESERVED_BYTES instead magic number Wenyou Yang
2016-01-27 13:00 ` [U-Boot] [U-Boot, v2, " Andreas Bießmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56A8B3A9.2020707@gmail.com \
--to=andreas.devel@googlemail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox