Re: [PATCH net-next] net: mdio: Replaced BUG_ON() with WARN()

From: Andrew Lunn
Date: Wed Nov 17 2021 - 12:54:19 EST

On Wed, Nov 17, 2021 at 09:36:29AM -0800, Florian Fainelli wrote:
> Killing the kernel because a certain MDIO bus object is not in the
> desired state at various points in the registration or unregistration
> paths is excessive and is not helping in troubleshooting or fixing
> issues. Replace the BUG_ON() with WARN() and print out the MDIO bus name
> to facilitate debugging.
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>