Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lennert Buytenhek <buytenh@wantstofly.org>
To: Wolfram Sang <w.sang@pengutronix.de>
Cc: David Woodhouse <dwmw2@infradead.org>, linux-mtd@lists.infradead.org
Subject: Re: Can PYSMAP_COMPAT go?
Date: Tue, 20 Apr 2010 09:35:03 +0200	[thread overview]
Message-ID: <20100420073503.GL4586@mail.wantstofly.org> (raw)
In-Reply-To: <20100420063547.GH19957@pengutronix.de>

On Tue, Apr 20, 2010 at 08:35:47AM +0200, Wolfram Sang wrote:

> triggered by bug-report #15729 (thread at [1]), I wondered where default "0"
> for MTD_PHYSMAP_LEN came from and found
> 73566edf9b91dd085ddb12033d0ea7288979dd10. Its description says:
> 
>     Once all physmap users have been converted to instantiate their own
>     platform devices, the compat code can go.  (Or we decide that we can
>     change all the in-tree users at the same time, and never merge the
>     compat code.)
> 
> Grepping for current users:
> 
> ~/Kernel/linux-2.6/arch$ grep -r 'MAP_COMPAT' * | grep -v 'is not set'
> sh/configs/polaris_defconfig:CONFIG_MTD_PHYSMAP_COMPAT=y
> 
> This one could be fixed and then the compat code could be removed. I'd pick up
> the job, if I get a sign that this has a chance to go in. Or shall compat stay
> for a reason?

COMPAT needs to die.  There are at least two other ways of specifying
the same info (device tree or manual instantiation of a platform device
from your platform code), and we really shouldn't allow specifying this
in the .config as that will just give people other crazy ideas.

  reply	other threads:[~2010-04-20  7:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20  6:35 Can PYSMAP_COMPAT go? Wolfram Sang
2010-04-20  7:35 ` Lennert Buytenhek [this message]
2010-04-20  8:05   ` David Woodhouse
2010-04-20  9:04     ` Wolfram Sang
2010-04-20  9:20       ` David Woodhouse
2010-04-20  9:48         ` Wolfram Sang
2010-04-21  9:19         ` Wolfram Sang
2010-04-21  9:25           ` David Woodhouse

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=20100420073503.GL4586@mail.wantstofly.org \
    --to=buytenh@wantstofly.org \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=w.sang@pengutronix.de \
    /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