From: Andrew Morton <akpm@linux-foundation.org>
To: David Brownell <david-b@pacbell.net>
Cc: dwmw2@infradead.org, Bryan Wu <cooloney@kernel.org>,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
Michael Hennerich <michael.hennerich@analog.com>
Subject: Re: [RESEND x2 PATCH 2.6.26-git 1/2] MTD DataFlash: bugfix, binary page sizes now handled (v3)
Date: Tue, 29 Jul 2008 21:37:33 -0700 [thread overview]
Message-ID: <20080729213733.3345546a.akpm@linux-foundation.org> (raw)
In-Reply-To: <200807270325.13790.david-b@pacbell.net>
On Sun, 27 Jul 2008 03:25:13 -0700 David Brownell <david-b@pacbell.net> wrote:
> From: David Brownell <dbrownell@users.sourceforge.net>
>
> The wrong version of the "teach dataflash about binary density" patch
> just got merged (v2 not v3) ... this restores the missing updates:
>
> * Fix the cmdlinepart *regression* that caused testing failures (!!)
> by restoring the original part labels in relevant cases.
>
> * Don't reference things that don't exist (!)
> - An opcode that doesn't even exist for DataFlash
> - The part is "at45db642" not "at45db641"
> - ID zero in this JEDEC table
>
> * Make the JEDEC probe routine report and handle errors better:
> - If the SPI calls fail, return the error codes.
> - Don't depend on ordering of table entries.
> - Unrecognized ids are different from parts that have no ID.
> We won't actually know how to handle them correctly; display
> the ID and ignore the chip.
>
> * Move the original block comment about the "legacy" chip ID scheme
> back next to the code to which it applies ... not next to the new
> JEDEC query code, which uses an entirely different strategy.
>
> * Don't print a guessed erasesize; /proc/mtd has the real value.
>
> And add a few more comments.
>
drivers/mtd/devices/mtd_dataflash.c: In function 'jedec_probe':
drivers/mtd/devices/mtd_dataflash.c:611: error: incompatible type for argument 1 of 'dev_name'
drivers/mtd/devices/mtd_dataflash.c:619: error: incompatible type for argument 1 of 'dev_name'
next prev parent reply other threads:[~2008-07-30 4:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-27 10:25 [RESEND x2 PATCH 2.6.26-git 1/2] MTD DataFlash: bugfix, binary page sizes now handled (v3) David Brownell
2008-07-30 4:37 ` Andrew Morton [this message]
2008-07-30 5:07 ` David Brownell
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=20080729213733.3345546a.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=cooloney@kernel.org \
--cc=david-b@pacbell.net \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=michael.hennerich@analog.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