OSDN Git Service

kernel/audit.c: use ARRAY_SIZE instead of sizeof/sizeof[0]
authorFabian Frederick <fabf@skynet.be>
Tue, 3 Jun 2014 20:05:10 +0000 (22:05 +0200)
committerEric Paris <eparis@redhat.com>
Tue, 23 Sep 2014 20:37:51 +0000 (16:37 -0400)
commit6eed9b261334932c742458edd64b7b9fd0b981a9
treedffe858ac17b9740a16e901a6a913d9001f42bd9
parent691e6d59d2b6cdb4595e5f626503a1c9e98b8baf
kernel/audit.c: use ARRAY_SIZE instead of sizeof/sizeof[0]

Use kernel.h definition.

Cc: Eric Paris <eparis@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
kernel/audit.c