Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17093
b: refs/heads/master
c: 26fc354
h: refs/heads/master
i:
  17091: ba11900
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Jan 9, 2006
1 parent 84e427a commit ec6ed85
Show file tree
Hide file tree
Showing 2 changed files with 2 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: decf67aa2f4d498c02c2ad24a187a66c217f330c
refs/heads/master: 26fc354914219a91254afd0df573fc801bb1183a
3 changes: 1 addition & 2 deletions trunk/drivers/net/sk98lin/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -4807,14 +4807,13 @@ static int __devinit skge_probe_one(struct pci_dev *pdev,
}

pNet = netdev_priv(dev);
pNet->pAC = kmalloc(sizeof(SK_AC), GFP_KERNEL);
pNet->pAC = kzalloc(sizeof(SK_AC), GFP_KERNEL);
if (!pNet->pAC) {
printk(KERN_ERR "Unable to allocate adapter "
"structure!\n");
goto out_free_netdev;
}

memset(pNet->pAC, 0, sizeof(SK_AC));
pAC = pNet->pAC;
pAC->PciDev = pdev;

Expand Down

0 comments on commit ec6ed85

Please sign in to comment.