commit | 70ab943fd6bc94539e3ce280e6ee9fffade9858e | [log] [tgz] |
---|---|---|
author | Patrick van Gelder <patrick.vangelder@nl.bosch.com> | Wed Jun 03 14:18:04 2020 +0200 |
committer | Michal Simek <michal.simek@xilinx.com> | Wed Jun 24 13:11:08 2020 +0200 |
tree | ee28f7d057754a77ec8e47aae44886bbfcbe197c | |
parent | 1a6c8bb334f948f7c85c86657c8c60c5d00f70d0 [diff] |
net: xilinx: axi_emac: Fix endless loop when no PHYs are connected The index used to iterate over the possible PHYs in axiemac_phy_init was an unsigned int and decremented. Therefor it was always >= 0 and never exited the loop. Signed-off-by: Patrick van Gelder <patrick.vangelder@nl.bosch.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>