summaryrefslogtreecommitdiff
path: root/Documentation/core-api
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2025-03-07 17:08:56 -0500
committerKees Cook <kees@kernel.org>2025-03-13 10:26:33 -0700
commit7a79e7daa84e230266184a2018507551086c2317 (patch)
tree4c70bb9920d5d301e640f0e82d8466b38e930ca0 /Documentation/core-api
parent6ee149f61bcce39692f0335a01e99355d4cec8da (diff)
downloadlinux-7a79e7daa84e230266184a2018507551086c2317.tar.gz
linux-7a79e7daa84e230266184a2018507551086c2317.tar.bz2
linux-7a79e7daa84e230266184a2018507551086c2317.zip
printf: convert self-test to KUnit
Convert the printf() self-test to a KUnit test. In the interest of keeping the patch reasonably-sized this doesn't refactor the tests into proper parameterized tests - it's all one big test case. Signed-off-by: Tamir Duberstein <tamird@gmail.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Tested-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20250307-printf-kunit-convert-v6-1-4d85c361c241@gmail.com Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'Documentation/core-api')
-rw-r--r--Documentation/core-api/printk-formats.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/core-api/printk-formats.rst b/Documentation/core-api/printk-formats.rst
index ecccc0473da9..4bdc394e86af 100644
--- a/Documentation/core-api/printk-formats.rst
+++ b/Documentation/core-api/printk-formats.rst
@@ -661,7 +661,7 @@ Do *not* use it from C.
Thanks
======
-If you add other %p extensions, please extend <lib/test_printf.c> with
-one or more test cases, if at all feasible.
+If you add other %p extensions, please extend <lib/tests/printf_kunit.c>
+with one or more test cases, if at all feasible.
Thank you for your cooperation and attention.