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

From: Ricardo Robaina

Date: Tue Aug 25 2026 - 08:20:07 EST


Thanks, Paul!

On Mon, Aug 24, 2026 at 7:11 PM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>
> 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
>