Re: [PATCH net] net: mdio: mscc-miim: fix duplicate debugfs entry

From: Andrew Lunn
Date: Sun Mar 13 2022 - 11:11:57 EST


On Sat, Mar 12, 2022 at 11:41:40PM +0100, Michael Walle wrote:
> This driver can have up to two regmaps. If the second one is registered
> its debugfs entry will have the same name as the first one and the
> following error will be printed:
>
> [ 3.833521] debugfs: Directory 'e200413c.mdio' with parent 'regmap' already present!
>
> Give the second regmap a name to avoid this.
>
> Fixes: a27a76282837 ("net: mdio: mscc-miim: convert to a regmap implementation")
> Signed-off-by: Michael Walle <michael@xxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew