Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278342
b: refs/heads/master
c: ddf98e6
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Meyer authored and David S. Miller committed Dec 4, 2011
1 parent ea0a75c commit 01c85be
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: a1de22191bc4c47ff50ef3274295f4384074696b
refs/heads/master: ddf98e6d30a966dbd6e675c90e2caa5b9486e519
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/xilinx/ll_temac_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ static int temac_dma_bd_init(struct net_device *ndev)
struct sk_buff *skb;
int i;

lp->rx_skb = kzalloc(sizeof(*lp->rx_skb) * RX_BD_NUM, GFP_KERNEL);
lp->rx_skb = kcalloc(RX_BD_NUM, sizeof(*lp->rx_skb), GFP_KERNEL);
if (!lp->rx_skb) {
dev_err(&ndev->dev,
"can't allocate memory for DMA RX buffer\n");
Expand Down

0 comments on commit 01c85be

Please sign in to comment.