[PATCH] selinux: ARRAY_SIZE cleanups
authorNicolas Kaiser <nikai@nikai.net>
Fri, 6 Jan 2006 08:11:22 +0000 (00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:29 +0000 (08:33 -0800)
commit6e20a64a3913819133fefeca466211c7eb8adda1
tree65056023c41294514de2bbd032647942a2d188f9
parentb09eb1c06a14641209e6b86e9a5b28ea8287f193
[PATCH] selinux: ARRAY_SIZE cleanups

Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]).

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/selinuxfs.c