projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
md/raid6: avoid data corruption during recovery of double-degraded RAID6
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
audit.c
diff --git
a/kernel/audit.c
b/kernel/audit.c
index 3ef2e0e797e8e576cc6c922d65ef2dc6e40e2d86..ba2ff5a5c600daa49670502c2e2f8e9c72fe69e6 100644
(file)
--- a/
kernel/audit.c
+++ b/
kernel/audit.c
@@
-1677,7
+1677,7
@@
void audit_log_cap(struct audit_buffer *ab, char *prefix, kernel_cap_t *cap)
audit_log_format(ab, " %s=", prefix);
CAP_FOR_EACH_U32(i) {
audit_log_format(ab, "%08x",
- cap->cap[
(_KERNEL_CAPABILITY_U32S-1)
- i]);
+ cap->cap[
CAP_LAST_U32
- i]);
}
}