Your ROOT_URL in app.ini is https://src.whiteboxsystems.nl/ but you are visiting http://src.whiteboxsystems.nl/Whitebox/u-boot/commit/0132b9ab6e6593d1fd259cdd26261f184c436fdd You should set ROOT_URL correctly, otherwise the web may not work correctly.

net: phy: Don't create phy device when there is no phy

In get_phy_device_by_mask(), when no phy is found, we should not
create any phy device.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
master
Bin Meng 10 years ago committed by Joe Hershberger
parent 4f485150cf
commit 0132b9ab6e
  1. 3
      drivers/net/phy/phy.c

@ -672,7 +672,8 @@ static struct phy_device *get_phy_device_by_mask(struct mii_dev *bus,
return phydev;
}
printf("Phy %d not found\n", ffs(phy_mask) - 1);
return phy_device_create(bus, ffs(phy_mask) - 1, 0xffffffff, interface);
return NULL;
}
/**

Loading…
Cancel
Save