Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278341
b: refs/heads/master
c: a1de221
h: refs/heads/master
i:
  278339: 3dcc2f0
v: v3
  • Loading branch information
Thomas Meyer authored and David S. Miller committed Dec 4, 2011
1 parent e140906 commit ea0a75c
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: 01e23742b276cb8cb53bf727c4b1c50fae1860e7
refs/heads/master: a1de22191bc4c47ff50ef3274295f4384074696b
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/cisco/enic/enic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2379,7 +2379,7 @@ static int __devinit enic_probe(struct pci_dev *pdev,

#endif
/* Allocate structure for port profiles */
enic->pp = kzalloc(num_pps * sizeof(*enic->pp), GFP_KERNEL);
enic->pp = kcalloc(num_pps, sizeof(*enic->pp), GFP_KERNEL);
if (!enic->pp) {
pr_err("port profile alloc failed, aborting\n");
err = -ENOMEM;
Expand Down

0 comments on commit ea0a75c

Please sign in to comment.