From: Julia Lawall Date: Fri, 9 Jan 2009 10:22:21 +0000 (+0000) Subject: net/tipc/bcast.h: use ARRAY_SIZE X-Git-Tag: v2.6.29-rc2~105^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c614a50206ee56c21b34cc02d0bd40e756db87e;p=pandora-kernel.git net/tipc/bcast.h: use ARRAY_SIZE ARRAY_SIZE is more concise to use when the size of an array is divided by the size of its type or the size of its first element. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // @i@ @@ #include @depends on i using "paren.iso"@ type T; T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) // Signed-off-by: Julia Lawall Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- Reading git-diff-tree failed