* [PATCH] powerpc: remove unused audit_32.h header
@ 2026-09-18 3:08 Ethan Nelson-Moore
2026-09-18 6:20 ` Christophe Leroy (CS GROUP)
2026-09-18 7:11 ` Shrikanth Hegde
0 siblings, 2 replies; 5+ messages in thread
From: Ethan Nelson-Moore @ 2026-09-18 3:08 UTC (permalink / raw)
To: Michael Ellerman, Nicholas Piggin, Christophe Leroy (CS GROUP),
Ritesh Harjani (IBM), Shrikanth Hegde, linuxppc-dev
Cc: Ethan Nelson-Moore, Madhavan Srinivasan
The last use of arch/powerpc/kernel/audit_32.h was removed in
commit f26ad12356a2 ("powerpc/audit: Convert powerpc to
AUDIT_ARCH_COMPAT_GENERIC"), but it was left behind. Remove it.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
arch/powerpc/kernel/audit_32.h | 7 -------
1 file changed, 7 deletions(-)
delete mode 100644 arch/powerpc/kernel/audit_32.h
diff --git a/arch/powerpc/kernel/audit_32.h b/arch/powerpc/kernel/audit_32.h
deleted file mode 100644
index c6c79c3041ab..000000000000
--- a/arch/powerpc/kernel/audit_32.h
+++ /dev/null
@@ -1,7 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-#ifndef __AUDIT_32_H__
-#define __AUDIT_32_H__
-
-extern int ppc32_classify_syscall(unsigned);
-
-#endif
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] powerpc: remove unused audit_32.h header
2026-09-18 3:08 [PATCH] powerpc: remove unused audit_32.h header Ethan Nelson-Moore
@ 2026-09-18 6:20 ` Christophe Leroy (CS GROUP)
2026-09-18 7:11 ` Shrikanth Hegde
1 sibling, 0 replies; 5+ messages in thread
From: Christophe Leroy (CS GROUP) @ 2026-09-18 6:20 UTC (permalink / raw)
To: Ethan Nelson-Moore, Michael Ellerman, Nicholas Piggin,
Ritesh Harjani (IBM), Shrikanth Hegde, linuxppc-dev
Cc: Madhavan Srinivasan
Le 18/09/2026 à 05:08, Ethan Nelson-Moore a écrit :
> The last use of arch/powerpc/kernel/audit_32.h was removed in
> commit f26ad12356a2 ("powerpc/audit: Convert powerpc to
> AUDIT_ARCH_COMPAT_GENERIC"), but it was left behind. Remove it.
>
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
> ---
> arch/powerpc/kernel/audit_32.h | 7 -------
> 1 file changed, 7 deletions(-)
> delete mode 100644 arch/powerpc/kernel/audit_32.h
>
> diff --git a/arch/powerpc/kernel/audit_32.h b/arch/powerpc/kernel/audit_32.h
> deleted file mode 100644
> index c6c79c3041ab..000000000000
> --- a/arch/powerpc/kernel/audit_32.h
> +++ /dev/null
> @@ -1,7 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0
> -#ifndef __AUDIT_32_H__
> -#define __AUDIT_32_H__
> -
> -extern int ppc32_classify_syscall(unsigned);
> -
> -#endif
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] powerpc: remove unused audit_32.h header
2026-09-18 3:08 [PATCH] powerpc: remove unused audit_32.h header Ethan Nelson-Moore
2026-09-18 6:20 ` Christophe Leroy (CS GROUP)
@ 2026-09-18 7:11 ` Shrikanth Hegde
2026-09-18 8:11 ` Christophe Leroy (CS GROUP)
1 sibling, 1 reply; 5+ messages in thread
From: Shrikanth Hegde @ 2026-09-18 7:11 UTC (permalink / raw)
To: Ethan Nelson-Moore, Michael Ellerman, Nicholas Piggin,
Christophe Leroy (CS GROUP), Ritesh Harjani (IBM), linuxppc-dev
Cc: Madhavan Srinivasan
On 9/18/26 8:38 AM, Ethan Nelson-Moore wrote:
> The last use of arch/powerpc/kernel/audit_32.h was removed in
> commit f26ad12356a2 ("powerpc/audit: Convert powerpc to
> AUDIT_ARCH_COMPAT_GENERIC"), but it was left behind. Remove it.
>
Does it need fixes tag, So that it can propagate correctly?
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
> ---
> arch/powerpc/kernel/audit_32.h | 7 -------
> 1 file changed, 7 deletions(-)
> delete mode 100644 arch/powerpc/kernel/audit_32.h
>
> diff --git a/arch/powerpc/kernel/audit_32.h b/arch/powerpc/kernel/audit_32.h
> deleted file mode 100644
> index c6c79c3041ab..000000000000
> --- a/arch/powerpc/kernel/audit_32.h
> +++ /dev/null
> @@ -1,7 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0
> -#ifndef __AUDIT_32_H__
> -#define __AUDIT_32_H__
> -
> -extern int ppc32_classify_syscall(unsigned);
> -
> -#endif
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] powerpc: remove unused audit_32.h header
2026-09-18 7:11 ` Shrikanth Hegde
@ 2026-09-18 8:11 ` Christophe Leroy (CS GROUP)
2026-09-18 8:51 ` Shrikanth Hegde
0 siblings, 1 reply; 5+ messages in thread
From: Christophe Leroy (CS GROUP) @ 2026-09-18 8:11 UTC (permalink / raw)
To: Shrikanth Hegde, Ethan Nelson-Moore, Michael Ellerman,
Nicholas Piggin, Ritesh Harjani (IBM), linuxppc-dev
Cc: Madhavan Srinivasan
Hi Shrikanth,
Le 18/09/2026 à 09:11, Shrikanth Hegde a écrit :
>
>
> On 9/18/26 8:38 AM, Ethan Nelson-Moore wrote:
>> The last use of arch/powerpc/kernel/audit_32.h was removed in
>> commit f26ad12356a2 ("powerpc/audit: Convert powerpc to
>> AUDIT_ARCH_COMPAT_GENERIC"), but it was left behind. Remove it.
>>
>
> Does it need fixes tag, So that it can propagate correctly?
My understanding is that this patch is not a real bug fix so it doesn't
qualify for -stable trees at the first place. Therefore it shouldn't
contain a Fixes: tag.
See https://docs.kernel.org/process/stable-kernel-rules.html :
Rules on what kind of patches are accepted, and which ones are not, into
the “-stable” tree:
It or an equivalent fix must already exist in Linux mainline
(upstream).
It must be obviously correct and tested.
It cannot be bigger than 100 lines, with context.
It must follow the Documentation/process/submitting-patches.rst rules.
It must either fix a real bug that bothers people or just add a
device ID. To elaborate on the former:
It fixes a problem like an oops, a hang, data corruption, a
real security issue, a hardware quirk, a build error (but not for things
marked CONFIG_BROKEN), or some “oh, that’s not good” issue.
Serious issues as reported by a user of a distribution kernel
may also be considered if they fix a notable performance or
interactivity issue. As these fixes are not as obvious and have a higher
risk of a subtle regression they should only be submitted by a
distribution kernel maintainer and include an addendum linking to a
bugzilla entry if it exists and additional information on the
user-visible impact.
No “This could be a problem...” type of things like a
“theoretical race condition”, unless an explanation of how the bug can
be exploited is also provided.
No “trivial” fixes without benefit for users (spelling changes,
whitespace cleanups, etc).
>
> Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
>
>> Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
>> ---
>> arch/powerpc/kernel/audit_32.h | 7 -------
>> 1 file changed, 7 deletions(-)
>> delete mode 100644 arch/powerpc/kernel/audit_32.h
>>
>> diff --git a/arch/powerpc/kernel/audit_32.h b/arch/powerpc/kernel/
>> audit_32.h
>> deleted file mode 100644
>> index c6c79c3041ab..000000000000
>> --- a/arch/powerpc/kernel/audit_32.h
>> +++ /dev/null
>> @@ -1,7 +0,0 @@
>> -// SPDX-License-Identifier: GPL-2.0
>> -#ifndef __AUDIT_32_H__
>> -#define __AUDIT_32_H__
>> -
>> -extern int ppc32_classify_syscall(unsigned);
>> -
>> -#endif
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] powerpc: remove unused audit_32.h header
2026-09-18 8:11 ` Christophe Leroy (CS GROUP)
@ 2026-09-18 8:51 ` Shrikanth Hegde
0 siblings, 0 replies; 5+ messages in thread
From: Shrikanth Hegde @ 2026-09-18 8:51 UTC (permalink / raw)
To: Christophe Leroy (CS GROUP), Ethan Nelson-Moore, Michael Ellerman,
Nicholas Piggin, Ritesh Harjani (IBM), linuxppc-dev
Cc: Madhavan Srinivasan
On 9/18/26 1:41 PM, Christophe Leroy (CS GROUP) wrote:
> Hi Shrikanth,
>
> Le 18/09/2026 à 09:11, Shrikanth Hegde a écrit :
>>
>>
>> On 9/18/26 8:38 AM, Ethan Nelson-Moore wrote:
>>> The last use of arch/powerpc/kernel/audit_32.h was removed in
>>> commit f26ad12356a2 ("powerpc/audit: Convert powerpc to
>>> AUDIT_ARCH_COMPAT_GENERIC"), but it was left behind. Remove it.
>>>
>>
>> Does it need fixes tag, So that it can propagate correctly?
>
> My understanding is that this patch is not a real bug fix so it doesn't qualify for -stable trees at the first place. Therefore it shouldn't contain a Fixes: tag.
>
> See https://docs.kernel.org/process/stable-kernel-rules.html :
>
> Rules on what kind of patches are accepted, and which ones are not, into the “-stable” tree:
>
> It or an equivalent fix must already exist in Linux mainline (upstream).
>
> It must be obviously correct and tested.
>
> It cannot be bigger than 100 lines, with context.
>
> It must follow the Documentation/process/submitting-patches.rst rules.
>
> It must either fix a real bug that bothers people or just add a device ID. To elaborate on the former:
>
> It fixes a problem like an oops, a hang, data corruption, a real security issue, a hardware quirk, a build error (but not for things marked CONFIG_BROKEN), or some “oh, that’s not good” issue.
>
> Serious issues as reported by a user of a distribution kernel may also be considered if they fix a notable performance or interactivity issue. As these fixes are not as obvious and have a higher risk of a subtle regression they should only be submitted by a distribution kernel maintainer and include an addendum linking to a bugzilla entry if it exists and additional information on the user-visible impact.
>
> No “This could be a problem...” type of things like a “theoretical race condition”, unless an explanation of how the bug can be exploited is also provided.
>
> No “trivial” fixes without benefit for users (spelling changes, whitespace cleanups, etc).
>
>
Alright. Makes sense.
>>
>> Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
>>
>>> Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
>>> ---
>>> arch/powerpc/kernel/audit_32.h | 7 -------
>>> 1 file changed, 7 deletions(-)
>>> delete mode 100644 arch/powerpc/kernel/audit_32.h
>>>
>>> diff --git a/arch/powerpc/kernel/audit_32.h b/arch/powerpc/kernel/ audit_32.h
>>> deleted file mode 100644
>>> index c6c79c3041ab..000000000000
>>> --- a/arch/powerpc/kernel/audit_32.h
>>> +++ /dev/null
>>> @@ -1,7 +0,0 @@
>>> -// SPDX-License-Identifier: GPL-2.0
>>> -#ifndef __AUDIT_32_H__
>>> -#define __AUDIT_32_H__
>>> -
>>> -extern int ppc32_classify_syscall(unsigned);
>>> -
>>> -#endif
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-09-18 8:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-18 3:08 [PATCH] powerpc: remove unused audit_32.h header Ethan Nelson-Moore
2026-09-18 6:20 ` Christophe Leroy (CS GROUP)
2026-09-18 7:11 ` Shrikanth Hegde
2026-09-18 8:11 ` Christophe Leroy (CS GROUP)
2026-09-18 8:51 ` Shrikanth Hegde
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.