Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361825
b: refs/heads/master
c: ce16294
h: refs/heads/master
i:
  361823: ab87829
v: v3
  • Loading branch information
Lothar Waßmann authored and David S. Miller committed Mar 21, 2013
1 parent f7d933f commit 710dffb
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: cb0e51d80694fc9964436be1a1a15275e991cb1e
refs/heads/master: ce16294fda230c787ce5c35f61b2f80d14d70a72
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/ti/cpsw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ static int cpsw_probe_dt(struct cpsw_platform_data *data,
struct platform_device *mdio;

parp = of_get_property(slave_node, "phy_id", &lenp);
if ((parp == NULL) && (lenp != (sizeof(void *) * 2))) {
if ((parp == NULL) || (lenp != (sizeof(void *) * 2))) {
pr_err("Missing slave[%d] phy_id property\n", i);
ret = -EINVAL;
goto error_ret;
Expand Down

0 comments on commit 710dffb

Please sign in to comment.