Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58154
b: refs/heads/master
c: d14e37e
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Jul 2, 2007
1 parent dfa10e9 commit e2afd50
Show file tree
Hide file tree
Showing 2 changed files with 4 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: afaee82c0aef7c2b30acff129c723031343e10c2
refs/heads/master: d14e37e12087e98b63907518dff83a90297605d6
4 changes: 3 additions & 1 deletion trunk/drivers/net/ns83820.c
Original file line number Diff line number Diff line change
Expand Up @@ -1831,11 +1831,13 @@ static int __devinit ns83820_init_one(struct pci_dev *pci_dev, const struct pci_

ndev = alloc_etherdev(sizeof(struct ns83820));
dev = PRIV(ndev);
dev->ndev = ndev;

err = -ENOMEM;
if (!dev)
goto out;

dev->ndev = ndev;

spin_lock_init(&dev->rx_info.lock);
spin_lock_init(&dev->tx_lock);
spin_lock_init(&dev->misc_lock);
Expand Down

0 comments on commit e2afd50

Please sign in to comment.