mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] audit: fix whitespace alignment in include/uapi/linux/audit.h
@ 2026-02-26 17:15 Ricardo Robaina
  2026-03-02 21:31 ` Paul Moore
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Robaina @ 2026-02-26 17:15 UTC (permalink / raw)
  To: audit, linux-kernel; +Cc: paul, eparis, Ricardo Robaina

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 <rrobaina@redhat.com>
---
 include/uapi/linux/audit.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
index 14a1c1fe013a..410dfb41b810 100644
--- a/include/uapi/linux/audit.h
+++ b/include/uapi/linux/audit.h
@@ -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
-- 
2.53.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] audit: fix whitespace alignment in  include/uapi/linux/audit.h
  2026-02-26 17:15 [PATCH] audit: fix whitespace alignment in include/uapi/linux/audit.h Ricardo Robaina
@ 2026-03-02 21:31 ` Paul Moore
  2026-03-03 11:41   ` Ricardo Robaina
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Moore @ 2026-03-02 21:31 UTC (permalink / raw)
  To: Ricardo Robaina, audit, linux-kernel; +Cc: eparis, Ricardo Robaina

On Feb 26, 2026 Ricardo Robaina <rrobaina@redhat.com> 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 <rrobaina@redhat.com>
> ---
>  include/uapi/linux/audit.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
> index 14a1c1fe013a..410dfb41b810 100644
> --- a/include/uapi/linux/audit.h
> +++ b/include/uapi/linux/audit.h
> @@ -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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] audit: fix whitespace alignment in include/uapi/linux/audit.h
  2026-03-02 21:31 ` Paul Moore
@ 2026-03-03 11:41   ` Ricardo Robaina
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Robaina @ 2026-03-03 11:41 UTC (permalink / raw)
  To: Paul Moore; +Cc: audit, linux-kernel, eparis

On Mon, Mar 2, 2026 at 6:31 PM Paul Moore <paul@paul-moore.com> wrote:
>
> On Feb 26, 2026 Ricardo Robaina <rrobaina@redhat.com> 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 <rrobaina@redhat.com>
> > ---
> >  include/uapi/linux/audit.h | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
> > index 14a1c1fe013a..410dfb41b810 100644
> > --- a/include/uapi/linux/audit.h
> > +++ b/include/uapi/linux/audit.h
> > @@ -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
>

Sure thing. Thanks, Paul!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-03 11:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-26 17:15 [PATCH] audit: fix whitespace alignment in include/uapi/linux/audit.h Ricardo Robaina
2026-03-02 21:31 ` Paul Moore
2026-03-03 11:41   ` Ricardo Robaina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®