diff options
-rw-r--r-- | kernel/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index de991950091f..8a82d481393d 100644 --- a/kernel/audit.c +++ b/kernel/audit.c | |||
@@ -750,7 +750,7 @@ static int audit_set_feature(struct sk_buff *skb) | |||
750 | struct audit_features *uaf; | 750 | struct audit_features *uaf; |
751 | int i; | 751 | int i; |
752 | 752 | ||
753 | BUILD_BUG_ON(AUDIT_LAST_FEATURE + 1 > sizeof(audit_feature_names)/sizeof(audit_feature_names[0])); | 753 | BUILD_BUG_ON(AUDIT_LAST_FEATURE + 1 > ARRAY_SIZE(audit_feature_names)); |
754 | uaf = nlmsg_data(nlmsg_hdr(skb)); | 754 | uaf = nlmsg_data(nlmsg_hdr(skb)); |
755 | 755 | ||
756 | /* if there is ever a version 2 we should handle that here */ | 756 | /* if there is ever a version 2 we should handle that here */ |