From: Himangi Saraogi Date: Mon, 16 Jun 2014 20:11:05 +0000 (+0530) Subject: SELinux: use ARRAY_SIZE X-Git-Tag: omap-for-v3.17/fixes-against-rc2~100^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c7001b84be55917a99c35ce96df7e67b3c40cea;p=pandora-kernel.git SELinux: 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 Coccinelle semantic patch that makes this change is as follows: // @@ type T; T[] E; @@ - (sizeof(E)/sizeof(E[...])) + ARRAY_SIZE(E) // Signed-off-by: Himangi Saraogi Signed-off-by: Paul Moore --- Reading git-diff-tree failed