From: Richard Weinberger <richard@nod.at>
To: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH] flash_eraseall: Remove warning
Date: Wed, 27 Apr 2016 10:27:33 +0200 [thread overview]
Message-ID: <572077F5.9080004@nod.at> (raw)
In-Reply-To: <20160427102101.13c6d017@bbrezillon>
Am 27.04.2016 um 10:21 schrieb Boris Brezillon:
>> Well, flash_erase <mtddev> 0 0 is the same as flash_eraseall <mtddev>.
>> But flash_eraseall is still more handy to use.
>> Let's keep flash_eraseall as short cut and don't force users to
>> use a less handy user interface.
>
> Hm, I'm not convinced by this change. Aren't we trying to make people
> switch to flash_erase instead of using flash_eraseall.
> If you want to make flash_erase more easy to use, you can always erase
> the whole partition if only <mtddev> is passed in arguments, which IMO
> would be clearer than having to pass 0 0.
So, you suggest fixing flash_erase such that a "flash_erase /dev/mtd0"
works and acts like "flash_erase /dev/mtd0 0 0"?
Would work too. :-)
Thanks,
//richard
next prev parent reply other threads:[~2016-04-27 8:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 20:03 [PATCH] flash_eraseall: Remove warning Richard Weinberger
2016-04-27 8:21 ` Boris Brezillon
2016-04-27 8:27 ` Richard Weinberger [this message]
2016-04-27 8:29 ` Boris Brezillon
2016-04-27 16:01 ` Brian Norris
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=572077F5.9080004@nod.at \
--to=richard@nod.at \
--cc=boris.brezillon@free-electrons.com \
--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;
as well as URLs for NNTP newsgroup(s).