public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Brian Norris <computersforpeace@gmail.com>
To: Roland Kletzing <devzero@web.de>
Cc: dwmw2@infradead.org, fengguang.wu@intel.com,
	linux-mtd@lists.infradead.org
Subject: Re: please consider removing netsc520 driver from drivers/mtd/maps/
Date: Thu, 20 Nov 2014 10:31:40 -0800	[thread overview]
Message-ID: <20141120183140.GG24364@ld-irv-0074> (raw)
In-Reply-To: <trinity-73ac0136-01d6-4251-acb9-e48ca8ce1273-1416498438753@3capp-webde-bs05>

On Thu, Nov 20, 2014 at 04:47:18PM +0100, Roland Kletzing wrote:
> every now and then i stumble across this "broken" module, and wonder if this 
> cannot be removed in 2014. I`m quite sure nobody will be missing that one in 
> 3.18+ kernels.

Probably not.

> it`s still being shipped as a module by popular distros like recent debian or
> ubuntu. waste of diskspace and compile time, imho.

Yep. But that's partly the distro's fault.

> there are even chances that these driver being accidentally statically linked
> into kernels, e.g. https://lkml.org/lkml/2013/9/25/666 (cc fenguang wu because 
> of this)
> 
> also see
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=10840
> ---
> This is a driver for an obscure embedded demonstration board. It's also one where
> there doesn't seem to be a good way to sanity check before probing. Quite why any
> standard PC distro would ship it is beyond me

Yeah, this driver sucks and is probably redundant. It looks like you
could probably just get by with the physmap.c driver instead.

> ps:
> not subscribed to this list - hope this list allows for unsubscribed posting 
> like lkml

...

Does this help you?

  https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3579ad4113dd6102866abb0ac7b8f329e7d41e4e

  commit 3579ad4113dd6102866abb0ac7b8f329e7d41e4e
  Author: Jean Delvare <jdelvare@suse.de>
  Date:   Fri Mar 14 18:14:20 2014 +0100

      mtd: Fix Elan SC520 dependencies

It means that most distros should not be shipping it any more, since it
depends on CONFIG_MELAN.

I'm also not opposed to dropping the driver entirely.

Perhaps we can mark the Kconfig entry CONFIG_BROKEN (i.e., depends on
BROKEN), and then remove it entirely if no one complains after a while.

I'll take a patch from you that does ths, if you want to write a little
bit of context in a commit message.

Thanks,
Brian

      reply	other threads:[~2014-11-20 18:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-20 15:47 please consider removing netsc520 driver from drivers/mtd/maps/ Roland Kletzing
2014-11-20 18:31 ` 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=20141120183140.GG24364@ld-irv-0074 \
    --to=computersforpeace@gmail.com \
    --cc=devzero@web.de \
    --cc=dwmw2@infradead.org \
    --cc=fengguang.wu@intel.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