[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141116.135302.1339801219762777528.davem@davemloft.net>
Date: Sun, 16 Nov 2014 13:53:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: gilles.chanteperdrix@...omai.org
Cc: nicolas.ferre@...el.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net/at91_ether: fix loading when macb is compiled as a
module
From: Gilles Chanteperdrix <gilles.chanteperdrix@...omai.org>
Date: Sun, 16 Nov 2014 19:05:06 +0100
> The at91_ether driver depends on symbols defined in the macb driver.
>
> Currently, when compiling both at91_ether and macb as module, starting
> the at91_ether module fails, because the macb module can not be loaded
> with a macb interface.
>
> Avoid this issue by getting the macb module initialization routine to
> always return 0, even when no macb device is detected.
>
> Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@...omai.org>
This is not acceptable, sorry.
This means the module stays in memory even if nobody has a real use
for it.
You'll need to find another solution, and I'll say in passing that this
was very poorly designed and that's why the problem exists.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists