public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Jarzmik <robert.jarzmik@free.fr>
To: dedekind1@gmail.com
Cc: dwmw2@infradead.org, linux-mtd@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 00/16] DocG3 fixes and write support
Date: Fri, 25 Nov 2011 18:44:43 +0100	[thread overview]
Message-ID: <87hb1sw0z8.fsf@free.fr> (raw)
In-Reply-To: <1321997351.2222.14.camel@koala> (Artem Bityutskiy's message of "Tue, 22 Nov 2011 23:29:08 +0200")

Artem Bityutskiy <dedekind1@gmail.com> writes:

> Hi, pushed to l2-mtd-2.6.git, thanks!
Great, seen it coming down to linux-next :)

> 1. The reviewers did not give you any "Reviewed-by:" ?
You already did all the work for me in linux-next, thanks.

> 2. This series has one checkpatch.pl complaint in patch 15, which looks
> fair:
In the patch following this mail taken into account.

> 3. When I compile with gcc-4.6 for x68_64 I see the following
> compilation warnings:
>
>   CC [M]  drivers/mtd/devices/docg3.o
> drivers/mtd/devices/docg3.c: In function ‘doc_read_oob’:
> drivers/mtd/devices/docg3.c:630:3: warning: passing argument 2 of ‘doc_get_hw_bch_syndroms’ from incompatible pointer type [enabled by default]
> drivers/mtd/devices/docg3.c:513:13: note: expected ‘int *’ but argument is of
> type ‘u8 *’
In the patch following the mail, it was in one of Mike's last remarks.

> drivers/mtd/devices/docg3.c: At top level:
> drivers/mtd/devices/docg3.c:762:12: warning: ‘doc_get_erase_count’ defined but
> not used [-Wunused-function]
Ah, this one gives me trouble. I made that function so that future evolutions of
MTD api can cope with hardware knowing how many times a block was erased.

My proposition is to make a sysfs entry which will dump the list of all blocks
(from 0 to 2047 for docg3), and for each block print the number of erases. This
will clear the warning, and can be used for very specialized userspace
applications when they choose which block to erase.
This will be another patch I didn't do yet.

> 4. sparse gives the following warning:
I don't have that warning with C=1.
Moreover, the line (630) in l2-mtd-git or linux-next points towards a comment
line. I tried to have a peek at all "syns" usage and it seems correct to me.
So let's think this was a transient error in the whole patch serie.

> Could you please look at 2, 3, and 4? I did not look whether they are
> fair or not. Please, do not re-send the series again, I think it is OK
> if you send incremental fixes instead. Or if you at some point re-send
> v4, you can incorporate the warnings fixes, but please, do not send 16
> patches again only because of this :-)

Roger, single little patch. Don't worry, I think the big work is over for
docg3 ... now Mike's docg3 will be comming soon :)

-- 
Robert

      reply	other threads:[~2011-11-25 17:44 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-19 15:02 [PATCH v3 00/16] DocG3 fixes and write support Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 01/16] mtd/docg3: fix debug log verbosity Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 02/16] mtd/docg3: fix tracing of IO in writeb Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 03/16] mtd/docg3: fix protection areas reading Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 04/16] mtd/docg3: fix BCH registers Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 05/16] mtd/docg3: fix reading oob+data without correction Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 06/16] mtd/docg3: add multiple floor support Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 07/16] mtd/docg3: add OOB layout to mtdinfo Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 08/16] mtd/docg3: add registers for erasing and writing Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 09/16] mtd/docg3: add OOB buffer to device structure Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 10/16] mtd/docg3: add write functions Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 11/16] mtd/docg3: add erase functions Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 12/16] mtd/docg3: map erase and write functions Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 13/16] mtd/docg3: add ECC correction code Robert Jarzmik
2011-11-24 10:24   ` Ivan Djelic
2011-11-24 17:56     ` Mike Dunn
2011-11-19 15:02 ` [PATCH v3 14/16] mtd/docg3: add suspend and resume Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 15/16] mtd/docg3: add fast mode Robert Jarzmik
2011-11-19 15:02 ` [PATCH v3 16/16] mtd/docg3: add protection areas sysfs access Robert Jarzmik
2011-11-26 23:57   ` Greg KH
2011-11-27 10:29     ` Robert Jarzmik
2011-11-22 21:29 ` [PATCH v3 00/16] DocG3 fixes and write support Artem Bityutskiy
2011-11-25 17:44   ` Robert Jarzmik [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=87hb1sw0z8.fsf@free.fr \
    --to=robert.jarzmik@free.fr \
    --cc=dedekind1@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    /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