[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <dfb47650-549e-4e58-9177-fec6ab95b27c@app.fastmail.com>
Date: Tue, 25 Apr 2023 22:35:46 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Paolo Abeni" <pabeni@...hat.com>, Netdev <netdev@...r.kernel.org>
Cc: "Andrew Lunn" <andrew@...n.ch>,
"Heiner Kallweit" <hkallweit1@...il.com>,
"Russell King" <linux@...linux.org.uk>,
"David S . Miller" <davem@...emloft.net>,
"Eric Dumazet" <edumazet@...gle.com>,
"Jakub Kicinski" <kuba@...nel.org>
Subject: Re: [PATCH net-next] net: phy: drop PHYLIB_LEDS knob
On Tue, Apr 25, 2023, at 22:19, Paolo Abeni wrote:
> ---
> @Andrew, @Arnd: the rationale here is to avoid the new config knob=y,
> which caused in the past a few complains from Linus. In this case I
> think the raised exception is not valid, for the reason mentioned above.
>
> If you have different preferences or better solutions to address that,
> please voice them :)
I think using IS_REACHABLE() is generally much worse than having another
explicit option, because it makes it harder for users to figure out why
something does not work as they had expected it to.
Note that I'm the one who introduced IS_REACHABLE() to start with,
but the intention at the time was really to replace open-coded
logic doing the same thing, not to have it as a generic way to
hide broken dependencies.
Arnmd
Powered by blists - more mailing lists