Julia Lawall 5d66fe92a1 drivers/net : Correct the size argument to kzalloc
lp->rx_skb has type struct sk_buff **, not struct sk_buff *, so the
elements of the array should have pointer type, not structure type.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@disable sizeof_type_expr@
type T;
T **x;
@@

  x =
  <+...sizeof(
- T
+ *x
  )...+>
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-03 21:42:51 -08:00
..
2009-12-08 13:38:14 +01:00
2009-12-01 16:32:19 -08:00
2009-12-11 11:55:21 -08:00
2009-12-02 01:13:11 -08:00
2009-11-27 21:07:23 +01:00
2009-11-12 07:26:01 -08:00
2010-01-03 21:42:51 -08:00