From: Julia Lawall Date: Tue, 29 Dec 2009 09:15:42 +0000 (+0000) Subject: drivers/net : Correct the size argument to kzalloc X-Git-Tag: v2.6.33-rc4~10^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d66fe92a19fb41373d13e75831169a6b5e5bef5;p=pandora-kernel.git 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/) // @disable sizeof_type_expr@ type T; T **x; @@ x = <+...sizeof( - T + *x )...+> // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller --- Reading git-diff-tree failed