Re: [PATCH 3/3] EDAC: amd64_edac: decide if driver can load successfully early.

Tejun Heo
2015-03-19T17:16:08Z

On Thu, Mar 19, 2015 at 01:10:47PM -0400, Tejun Heo wrote:
> > Scroll back a couple of messages.
>
> lsmod indicating hardware capability? Really? You're just adding
> confusion to the mix. Stop.

To add a bit, seriously, try to take a step back from your one driver
and look at the larger picture. The association between module being
loaded or not and hardware capability has been long broken. It's not
a useable way to communicate anything to userland. What if the module
is built-in? What's the difference between your precious one driver
and all others? How is userland supposed to tell? This is really you
implementing what should have been in your /etc/rc.local in kernel
driver and is totally unacceptable. Please don't pull stunts like
this.

--
tejun