]> git.baikalelectronics.ru Git - kernel.git/commit
tools: Add new "test" taint to kernel-chktaint
authorJoe Fradley <joefradley@google.com>
Wed, 24 Aug 2022 04:19:33 +0000 (21:19 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 7 Sep 2022 20:51:12 +0000 (14:51 -0600)
commit4fcb3767e850c2582a9624b301ada8aa58b9aa3b
treefd0f143a37c3020073d60c009496d44851cbc14d
parent864567ef11dd35e80e5ff3000bf0d40ca1318ba4
tools: Add new "test" taint to kernel-chktaint

Commit 08dd0222a99a ("kunit: Taint the kernel when KUnit tests are run")
added a new taint flag for when in-kernel tests run. This commit adds
recognition of this new flag in kernel-chktaint.

With this change the correct reason will be reported if the kernel is
tainted because of a test run.
Amended Commit log: Shuah Khan <skhan@linuxfoundation.org>

Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Joe Fradley <joefradley@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/debugging/kernel-chktaint