Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66509
b: refs/heads/master
c: c477f33
h: refs/heads/master
i:
  66507: b8ee6e0
v: v3
  • Loading branch information
Mariusz Kozlowski authored and David S. Miller committed Oct 10, 2007
1 parent fad72f3 commit d5fa7cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: a967b14035c5efe4c92623dde3776ffc7a79118c
refs/heads/master: c477f3348abb5f6fb8b627cfdb1d7ae4b8fe613b
6 changes: 2 additions & 4 deletions trunk/drivers/net/sb1250-mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,10 +780,8 @@ static void sbdma_initctx(sbmacdma_t *d,
* And context table
*/

d->sbdma_ctxtable = (struct sk_buff **)
kmalloc(d->sbdma_maxdescr*sizeof(struct sk_buff *), GFP_KERNEL);

memset(d->sbdma_ctxtable,0,d->sbdma_maxdescr*sizeof(struct sk_buff *));
d->sbdma_ctxtable = kcalloc(d->sbdma_maxdescr,
sizeof(struct sk_buff *), GFP_KERNEL);

#ifdef CONFIG_SBMAC_COALESCE
/*
Expand Down

0 comments on commit d5fa7cd

Please sign in to comment.