From: Florian Fainelli <f.faine...@gmail.com> Date: Mon, 13 May 2019 14:06:24 -0700
> Jiri reported that with a kernel built with CONFIG_FIXED_PHY=y, > CONFIG_NET_DSA=m and CONFIG_NET_DSA_LOOP=m, we would not get to a > functional state where the mock-up driver is registered. Turns out that > we are not descending into drivers/net/dsa/ unconditionally, and we > won't be able to link-in dsa_loop_bdinfo.o which does the actual mock-up > mdio device registration. > > Reported-by: Jiri Pirko <j...@resnulli.us> > Fixes: 40013ff20b1b ("net: dsa: Fix functional dsa-loop dependency on > FIXED_PHY") > Signed-off-by: Florian Fainelli <f.faine...@gmail.com> Applied and queued up for -stable, thanks.