* [PATCH] taint: add reminder about updating docs and scripts
@ 2025-10-15 22:16 Randy Dunlap
2025-10-16 16:30 ` Jason Gunthorpe
2025-10-18 7:21 ` David Gow
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2025-10-15 22:16 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jason Gunthorpe, Andrew Morton, David Gow,
Jonathan Corbet, linux-doc
Sometimes people update taint-related pieces of the kernel without
updating the supporting documentation or scripts. Add a reminder
to do this.
Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: David Gow <davidgow@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
---
kernel/panic.c | 6 ++++++
1 file changed, 6 insertions(+)
--- linux-next-20251014.orig/kernel/panic.c
+++ linux-next-20251014/kernel/panic.c
@@ -638,6 +638,12 @@ EXPORT_SYMBOL(panic);
/*
* TAINT_FORCED_RMMOD could be a per-module flag but the module
* is being removed anyway.
+ *
+ * NOTE: if you modify the taint_flags or TAINT_FLAGS_COUNT,
+ * please also modify tools/debugging/kernel-chktaint and
+ * Documentation/admin-guide/tainted-kernels.rst, including its
+ * small shell script that prints the TAINT_FLAGS_COUNT bits of
+ * /proc/sys/kernel/tainted.
*/
const struct taint_flag taint_flags[TAINT_FLAGS_COUNT] = {
TAINT_FLAG(PROPRIETARY_MODULE, 'P', 'G', true),
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] taint: add reminder about updating docs and scripts
2025-10-15 22:16 [PATCH] taint: add reminder about updating docs and scripts Randy Dunlap
@ 2025-10-16 16:30 ` Jason Gunthorpe
2025-10-18 7:21 ` David Gow
1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2025-10-16 16:30 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, Andrew Morton, David Gow, Jonathan Corbet,
linux-doc
On Wed, Oct 15, 2025 at 03:16:26PM -0700, Randy Dunlap wrote:
> Sometimes people update taint-related pieces of the kernel without
> updating the supporting documentation or scripts. Add a reminder
> to do this.
>
> Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: David Gow <davidgow@google.com>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> ---
> kernel/panic.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Jason
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] taint: add reminder about updating docs and scripts
2025-10-15 22:16 [PATCH] taint: add reminder about updating docs and scripts Randy Dunlap
2025-10-16 16:30 ` Jason Gunthorpe
@ 2025-10-18 7:21 ` David Gow
1 sibling, 0 replies; 3+ messages in thread
From: David Gow @ 2025-10-18 7:21 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, Jason Gunthorpe, Andrew Morton, Jonathan Corbet,
linux-doc
[-- Attachment #1: Type: text/plain, Size: 631 bytes --]
On Thu, 16 Oct 2025 at 06:16, Randy Dunlap <rdunlap@infradead.org> wrote:
>
> Sometimes people update taint-related pieces of the kernel without
> updating the supporting documentation or scripts. Add a reminder
> to do this.
>
> Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: David Gow <davidgow@google.com>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> ---
> kernel/panic.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Reviewed-by: David Gow <davidgow@google.com>
Cheers,
-- David
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5281 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-18 7:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-15 22:16 [PATCH] taint: add reminder about updating docs and scripts Randy Dunlap
2025-10-16 16:30 ` Jason Gunthorpe
2025-10-18 7:21 ` David Gow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox