]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
audit: fix indentation in audit_log_exit()
authorCasey Schaufler <casey@schaufler-ca.com>
Wed, 16 Jul 2025 21:27:30 +0000 (14:27 -0700)
committerPaul Moore <paul@paul-moore.com>
Mon, 11 Aug 2025 15:44:50 +0000 (11:44 -0400)
Fix two indentation errors in audit_log_exit().

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
[PM: subject tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/auditsc.c

index eb98cd6fe91fb575c18f694efc05d6124d851a60..1c29541c8fb64514cec0665a1a9cca7c4d3ed9f2 100644 (file)
@@ -1778,15 +1778,16 @@ static void audit_log_exit(void)
                                                  axs->target_sessionid[i],
                                                  &axs->target_ref[i],
                                                  axs->target_comm[i]))
-                               call_panic = 1;
+                       call_panic = 1;
        }
 
        if (context->target_pid &&
            audit_log_pid_context(context, context->target_pid,
                                  context->target_auid, context->target_uid,
                                  context->target_sessionid,
-                                 &context->target_ref, context->target_comm))
-                       call_panic = 1;
+                                 &context->target_ref,
+                                 context->target_comm))
+               call_panic = 1;
 
        if (context->pwd.dentry && context->pwd.mnt) {
                ab = audit_log_start(context, GFP_KERNEL, AUDIT_CWD);