Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323235
b: refs/heads/master
c: beb5ac2
h: refs/heads/master
i:
  323233: 495ec1e
  323231: 59e24da
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Sep 27, 2012
1 parent fa7e9ed commit a7c8aa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a326e6dd315ee38c280b7ecf8a0d777952e384cd
refs/heads/master: beb5ac20b3f90ffabac1eecd3c00205255df0728
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/pasemi/pasemi_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1101,9 +1101,9 @@ static int pasemi_mac_phy_init(struct net_device *dev)
phydev = of_phy_connect(dev, phy_dn, &pasemi_adjust_link, 0,
PHY_INTERFACE_MODE_SGMII);

if (IS_ERR(phydev)) {
if (!phydev) {
printk(KERN_ERR "%s: Could not attach to phy\n", dev->name);
return PTR_ERR(phydev);
return -ENODEV;
}

mac->phydev = phydev;
Expand Down

0 comments on commit a7c8aa3

Please sign in to comment.