Skip to contentSkip to conversation

audit: fix whitespace alignment in include/uapi/linux/audit.h

PATCH Applied Ricardo Robaina 2 participants 3 messages Feb 26 – Mar 3 Audit

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 audit: fix whitespace alignment in include/uapi/linux/audit.h

Fixed minor indentation inconsistencies in the audit macros to align with standard kernel coding style using 8-character hard tabs.

---
 include/uapi/linux/audit.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/uapi/linux/audit.h +3 -3
index 14a1c1fe013a..410dfb41b810 100644
@@ -350,7 +350,7 @@ enum {
 #define AUDIT_STATUS_ENABLED			0x0001
 #define AUDIT_STATUS_FAILURE			0x0002
 #define AUDIT_STATUS_PID			0x0004
-#define AUDIT_STATUS_RATE_LIMIT		0x0008
+#define AUDIT_STATUS_RATE_LIMIT 		0x0008
 #define AUDIT_STATUS_BACKLOG_LIMIT		0x0010
 #define AUDIT_STATUS_BACKLOG_WAIT_TIME		0x0020
 #define AUDIT_STATUS_LOST			0x0040
@@ -386,8 +386,8 @@ enum {
  * These bits disambiguate different calling conventions that share an
  * ELF machine type, bitness, and endianness
  */
-#define __AUDIT_ARCH_CONVENTION_MASK 0x30000000
-#define __AUDIT_ARCH_CONVENTION_MIPS64_N32 0x20000000
+#define __AUDIT_ARCH_CONVENTION_MASK		0x30000000
+#define __AUDIT_ARCH_CONVENTION_MIPS64_N32	0x20000000
 
 /* distinguish syscall tables */
 #define __AUDIT_ARCH_64BIT 0x80000000
Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw
Quoted 15 lines · On Feb 26, 2026 Ricardo Robaina <[email protected]> wrote:

Fixed minor indentation inconsistencies in the audit macros to align with standard kernel coding style using 8-character hard tabs.

---
 include/uapi/linux/audit.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/uapi/linux/audit.h +0 -0
index 14a1c1fe013a..410dfb41b810 100644

include/uapi/linux/audit.h enum { · line 353

Quoted 5 lines
include/uapi/linux/audit.h +1 -1
@@ -350,7 +350,7 @@ enum {
 #define AUDIT_STATUS_ENABLED			0x0001
 #define AUDIT_STATUS_FAILURE			0x0002
 #define AUDIT_STATUS_PID			0x0004
-#define AUDIT_STATUS_RATE_LIMIT		0x0008
+#define AUDIT_STATUS_RATE_LIMIT 		0x0008

I had to fix a space-before-tab issue in this line, but otherwise this looked fine to me. It is worth mentioning that checkpatch.pl would have caught the space-before-tab problem; please get in the habit of running checkpatch.pl before posting patches.

Merged into audit/dev, thanks.

--
paul-moore.com

#2 lore raw
Quoted 28 lines · Paul Moore
Quoted 15 lines · On Feb 26, 2026 Ricardo Robaina <[email protected]> wrote:

Fixed minor indentation inconsistencies in the audit macros to align with standard kernel coding style using 8-character hard tabs.

---
 include/uapi/linux/audit.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/uapi/linux/audit.h +0 -0
index 14a1c1fe013a..410dfb41b810 100644

include/uapi/linux/audit.h enum { · line 353

Quoted 5 lines
include/uapi/linux/audit.h +1 -1
@@ -350,7 +350,7 @@ enum {
 #define AUDIT_STATUS_ENABLED                 0x0001
 #define AUDIT_STATUS_FAILURE                 0x0002
 #define AUDIT_STATUS_PID                     0x0004
-#define AUDIT_STATUS_RATE_LIMIT              0x0008
+#define AUDIT_STATUS_RATE_LIMIT              0x0008

I had to fix a space-before-tab issue in this line, but otherwise this looked fine to me. It is worth mentioning that checkpatch.pl would have caught the space-before-tab problem; please get in the habit of running checkpatch.pl before posting patches.

Quoted 5 lines

Merged into audit/dev, thanks.

--
paul-moore.com

Sure thing. Thanks, Paul!