diff options
| author | Mark Brown <broonie@kernel.org> | 2026-10-01 15:01:39 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-01 15:01:39 +0100 |
| commit | 180ddaf54668f2ad5c52240a57b9d80d788fe6a3 (patch) | |
| tree | 5aabef9be7d1fc321b550e33cd5d75d9d681f586 /include | |
| parent | 4fd3765488f0f49d11bc61e1c2ad1cb05422d29c (diff) | |
| parent | 88bd5e852addf09db73a38d93f7911863ef5a104 (diff) | |
| download | linux-next-180ddaf54668f2ad5c52240a57b9d80d788fe6a3.tar.gz linux-next-180ddaf54668f2ad5c52240a57b9d80d788fe6a3.zip | |
Merge branch 'next' of https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/audit.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 45abb3722d30..18b44a1c5397 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h @@ -547,7 +547,7 @@ static inline void audit_openat2_how(struct open_how *how) static inline void audit_log_kern_module(const char *name) { - if (!audit_dummy_context()) + if (unlikely(!audit_dummy_context())) __audit_log_kern_module(name); } @@ -563,7 +563,7 @@ static inline void audit_tk_injoffset(struct timespec64 offset) if (offset.tv_sec == 0 && offset.tv_nsec == 0) return; - if (!audit_dummy_context()) + if (unlikely(!audit_dummy_context())) __audit_tk_injoffset(offset); } @@ -586,7 +586,7 @@ static inline void audit_ntp_set_new(struct audit_ntp_data *ad, static inline void audit_ntp_log(const struct audit_ntp_data *ad) { - if (!audit_dummy_context()) + if (unlikely(!audit_dummy_context())) __audit_ntp_log(ad); } |
