Skip to contentSkip to conversation

Documentation: Add detailed explanation for 'N' taint flag

PATCH Applied Benjamin Poirier 4 participants 4 messages Jul 17, 2024 – Jul 29, 2024 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: Add detailed explanation for 'N' taint flag

Every taint flag has an entry in the "More detailed explanation" section except for the 'N' flag. That omission was probably just an oversight so add an entry for that flag.

Fixes 2852ca7fba9f ("panic: Taint kernel if tests are run")
---
 Documentation/admin-guide/tainted-kernels.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/admin-guide/tainted-kernels.rst +2 -0
index f92551539e8a..700aa72eecb1 100644
@@ -182,3 +182,5 @@ More detailed explanation for tainting
      produce extremely unusual kernel structure layouts (even performance
      pathological ones), which is important to know when debugging. Set at
      build time.
+
+ 18) ``N`` if an in-kernel test, such as a KUnit test, has been run.
Signature · 1 line
2.45.2
Reviewed-by on v1 1/1
#2 lore raw
In reply to Benjamin Poirier
Quoted 8 lines · Benjamin Poirier

Every taint flag has an entry in the "More detailed explanation" section except for the 'N' flag. That omission was probably just an oversight so add an entry for that flag.

Fixes 2852ca7fba9f ("panic: Taint kernel if tests are run")

---

Nice catch, thanks!

Cheers,
-- David

Quoted 16 lines
 Documentation/admin-guide/tainted-kernels.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/admin-guide/tainted-kernels.rst +2 -1
index f92551539e8a..700aa72eecb1 100644
@@ -182,3 +182,5 @@ More detailed explanation for tainting
      produce extremely unusual kernel structure layouts (even performance
      pathological ones), which is important to know when debugging. Set at
      build time.
+
+ 18) ``N`` if an in-kernel test, such as a KUnit test, has been run.
--

2.45.2

maintainer Applied
#3 lore raw
In reply to Benjamin Poirier
Quoted 15 lines · Benjamin Poirier

Every taint flag has an entry in the "More detailed explanation" section except for the 'N' flag. That omission was probably just an oversight so add an entry for that flag.

Fixes 2852ca7fba9f ("panic: Taint kernel if tests are run")
---
 Documentation/admin-guide/tainted-kernels.rst | 2 ++
 1 file changed, 2 insertions(+)
Documentation/admin-guide/tainted-kernels.rst +0 -0
index f92551539e8a..700aa72eecb1 100644

Documentation/admin-guide/tainted-kernels.rst More detailed explanation for tainting · line 186

Quoted 5 lines
Documentation/admin-guide/tainted-kernels.rst +2 -0
@@ -182,3 +182,5 @@ More detailed explanation for tainting
      produce extremely unusual kernel structure layouts (even performance
      pathological ones), which is important to know when debugging. Set at
      build time.
+
+ 18) ``N`` if an in-kernel test, such as a KUnit test, has been run.

Applied, thanks.

jon