Tag: 5d66fe92a19fb41373d13e75831169a6b5e5bef5

drivers/net : Correct the size argument to kzalloc

Author: Julia Lawall <julia@diku.dk> 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/) // @disable sizeof_type_expr@ type T; T **x; @@ x = // Signed-off-by: Julia Lawall Signed-off-by: David S. …

Continue reading