From: Artem Bityutskiy <dedekind1@gmail.com>
To: Roman Tereshonkov <roman.tereshonkov@nokia.com>
Cc: kyungmin.park@samsung.com, linux-mtd@lists.infradead.org
Subject: Re: [PATCH] mtd: onenand: add ecclayout and subpage_sft for none-flex 4kb page onenand
Date: Mon, 04 Apr 2011 14:56:12 +0300 [thread overview]
Message-ID: <1301918172.2760.77.camel@localhost> (raw)
In-Reply-To: <1301915224-7571-1-git-send-email-roman.tereshonkov@nokia.com>
Hi,
just few minor nit-picks.
Please, try to make the commit subject shorted and less detailed, but
more readable.
On Mon, 2011-04-04 at 14:07 +0300, Roman Tereshonkov wrote:
> /**
> + * onenand_oob_128 - oob info for OneNAND with 4KB page
> + * and using reserved bytes as free bytes instead of
> + * free bytes that are managed by ECC.
> + * For now, we expose only 64 out of 72 ecc bytes
> + */
Do not use /** since this is not a proper kerneldoc comment. Use /*
instead.
Also, make the lines longer - we have 80 characters per line for
comments.
Also, why you use expression "for now" - does it mean you are going to
change this soon? If not, please, amend the comment.
> +static struct nand_ecclayout onenand_oob_128_none_flex = {
none_flex sounds a bit strange. I think it is better to:
1. Re-name onenand_oob_128 into flexonenand_oob_128 (in a separate
patch)
2. Introduce onenand_oob_128
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
prev parent reply other threads:[~2011-04-04 11:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-04 11:07 [PATCH] mtd: onenand: add ecclayout and subpage_sft for none-flex 4kb page onenand Roman Tereshonkov
2011-04-04 11:56 ` Artem Bityutskiy [this message]
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=1301918172.2760.77.camel@localhost \
--to=dedekind1@gmail.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-mtd@lists.infradead.org \
--cc=roman.tereshonkov@nokia.com \
/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