Module: common/miiphyutil.c
Function: mdio_register(struct mii_dev *bus)
Code (at or around line 186):
list_add_tail(&bus->link, &mii_devs);
may crash because mii_devs list was not initialized: mii_phy_init() was never called.
Reason:
CONFIG_MII and CONFIG_CMD_MII were undefined.
Workaround:
if ( NULL == miidevs.next )
return ( -1 );
I'm guessing this forum is probably an incorrect place to post bug reports. If yes, please advise a better place (sorry).
Thanks.