Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156343
b: refs/heads/master
c: 54706d9
h: refs/heads/master
i:
  156341: ab8b70f
  156339: aefa51a
  156335: 4595b82
v: v3
  • Loading branch information
roel kluin authored and David S. Miller committed Aug 2, 2009
1 parent 3792c78 commit b3ebd8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b994b5a1b3cb5395598a08ef3bb0ac118d75c1b
refs/heads/master: 54706d99051582993037be5a076aa543fd7f1c38
2 changes: 1 addition & 1 deletion trunk/drivers/net/s6gmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ static inline int s6gmac_phy_start(struct net_device *dev)
struct s6gmac *pd = netdev_priv(dev);
int i = 0;
struct phy_device *p = NULL;
while ((!(p = pd->mii.bus->phy_map[i])) && (i < PHY_MAX_ADDR))
while ((i < PHY_MAX_ADDR) && (!(p = pd->mii.bus->phy_map[i])))
i++;
p = phy_connect(dev, dev_name(&p->dev), &s6gmac_adjust_link, 0,
PHY_INTERFACE_MODE_RGMII);
Expand Down

0 comments on commit b3ebd8a

Please sign in to comment.