Re: [RFC PATCH v2] net: phy: Added device tree binding for dev-addr and dev-addr code check-up

From: Andrew Lunn
Date: Fri Mar 23 2018 - 11:44:52 EST


> --- a/drivers/of/of_mdio.c
> +++ b/drivers/of/of_mdio.c
> @@ -24,6 +24,8 @@
>
> #define DEFAULT_GPIO_RESET_DELAY 10 /* in microseconds */
>
> +struct phy_c45_device_ids mdio_c45_ids = {0};

You do know that Linux is multi-threaded. It could be probing two MDIO
busses at once.

Andrew