Re: [PATCH] audit: add missing unlikely hint to audit_dummy_context() wrappers

From: Paul Moore

Date: Mon Aug 24 2026 - 18:13:05 EST


On Aug 7, 2026 Ricardo Robaina <rrobaina@xxxxxxxxxx> wrote:
>
> The inline wrappers: audit_log_kern_module(), audit_tk_injoffset(),
> and audit_ntp_log() check audit_dummy_context() without unlikely(),
> unlike every other wrapper in the file.
>
> Add the missing annotations for consistency.
>
> Signed-off-by: Ricardo Robaina <rrobaina@xxxxxxxxxx>
> ---
> include/linux/audit.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

Thanks. Merged into audit/dev-staging due to the merge window, this will
move to audit/dev next week.

--
paul-moore.com