Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214319
b: refs/heads/master
c: be35ae9
h: refs/heads/master
i:
  214317: 42cf946
  214315: 373f426
  214311: 954a6ac
  214303: 77b472a
v: v3
  • Loading branch information
Santiago Leon authored and David S. Miller committed Sep 7, 2010
1 parent 8d8090b commit 2e5d5d2
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: f148f61d89995660e8aa20a2784ecd9c7f25e2a6
refs/heads/master: be35ae9e08dbbc70f1cd50de8639627fa501692d
4 changes: 2 additions & 2 deletions trunk/drivers/net/ibmveth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1392,15 +1392,15 @@ static int __devinit ibmveth_probe(struct vio_dev *dev,
NULL);
if (!mac_addr_p) {
dev_err(&dev->dev, "Can't find VETH_MAC_ADDR attribute\n");
return 0;
return -EINVAL;
}

mcastFilterSize_p = (unsigned int *)vio_get_attribute(dev,
VETH_MCAST_FILTER_SIZE, NULL);
if (!mcastFilterSize_p) {
dev_err(&dev->dev, "Can't find VETH_MCAST_FILTER_SIZE "
"attribute\n");
return 0;
return -EINVAL;
}

netdev = alloc_etherdev(sizeof(struct ibmveth_adapter));
Expand Down

0 comments on commit 2e5d5d2

Please sign in to comment.