Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361805
b: refs/heads/master
c: fc0c090
h: refs/heads/master
i:
  361803: ef07817
v: v3
  • Loading branch information
Sergei Shtylyov authored and David S. Miller committed Mar 20, 2013
1 parent 208b3b3 commit 10fd94e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0582b7d15f8a7ae53dd2128b8eb01567b3fd2277
refs/heads/master: fc0c0900408e05758a0df17c1924ca837fafca5e
5 changes: 5 additions & 0 deletions trunk/drivers/net/ethernet/renesas/sh_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -2446,6 +2446,11 @@ static int sh_eth_drv_probe(struct platform_device *pdev)
}
mdp->tsu_addr = ioremap(rtsu->start,
resource_size(rtsu));
if (mdp->tsu_addr == NULL) {
ret = -ENOMEM;
dev_err(&pdev->dev, "TSU ioremap failed.\n");
goto out_release;
}
mdp->port = devno % 2;
ndev->features = NETIF_F_HW_VLAN_FILTER;
}
Expand Down

0 comments on commit 10fd94e

Please sign in to comment.