audit: fix whitespace alignment in include/uapi/linux/audit.h
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
@@ -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
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.
Signed-off-by Ricardo Robaina <[email protected]>--- include/uapi/linux/audit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)include/uapi/linux/audit.h +0
-0
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
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.
Signed-off-by Ricardo Robaina <[email protected]>--- include/uapi/linux/audit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)include/uapi/linux/audit.h +0
-0include/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 0x0008I 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!