From: Brian Norris <computersforpeace@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: Re: [PATCH 1/2] mtd: cmdlinepart: allow small partitions
Date: Mon, 28 Sep 2015 18:39:13 -0700 [thread overview]
Message-ID: <20150929013913.GZ31505@google.com> (raw)
In-Reply-To: <1434744607-26621-1-git-send-email-computersforpeace@gmail.com>
On Fri, Jun 19, 2015 at 01:10:06PM -0700, Brian Norris wrote:
> I'm not sure why we have a PAGE_SIZE restriction on this partition
> parser.
>
> If we really wanted the restriction, I would expect it to be a
> restriction for *all* parsers, so we'd move it to the MTD core
>
> At any rate, while small partitions may not be useful (they'll often be
> smaller than the eraseblock size and therefore can only be used
> read-only), they still have use as a read-only partition.
>
> This restriction is especially annoying because it aborts the entire
> MTD's cmdline parsing, leaving it unpartitioned.
>
> So, let's kill the restriction and only check for zero-sized partitions,
> which I expect we don't want to allow.
>
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
> ---
> Anyone know a good reason why this restriction should be here?
No comments :)
Applied both
prev parent reply other threads:[~2015-09-29 1:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-19 20:10 [PATCH 1/2] mtd: cmdlinepart: allow small partitions Brian Norris
2015-06-19 20:10 ` [PATCH 2/2] mtd: cmdlinepart: convert printk() to pr_*() Brian Norris
2015-09-29 1:39 ` Brian Norris [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=20150929013913.GZ31505@google.com \
--to=computersforpeace@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.