* [PATCH] kunit: Fix kunit_register_params_array() reference in kernel-doc
@ 2026-09-11 20:39 Karl Mehltretter
0 siblings, 0 replies; only message in thread
From: Karl Mehltretter @ 2026-09-11 20:39 UTC (permalink / raw)
To: Brendan Higgins, David Gow, Rae Moar, Shuah Khan,
Marie Zhussupova, kunit-dev
Cc: Karl Mehltretter, linux-kselftest, linux-kernel
The kernel-doc comment of KUNIT_CASE_PARAM_WITH_INIT() refers to
kunit_register_param_array, which does not exist. The name is
kunit_register_params_array. Say kunit_register_params_array.
Fixes: b820b9077b7f ("kunit: Enable direct registration of parameter arrays to a KUnit test")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
include/kunit/test.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kunit/test.h b/include/kunit/test.h
index da5312e0dfa57f37a7e96c9e618b03b0947ede8b..55548dc54444f8c9f9e9319fbc263d93c0a56093 100644
--- a/include/kunit/test.h
+++ b/include/kunit/test.h
@@ -239,7 +239,7 @@ static inline char *kunit_status_to_ok_not_ok(enum kunit_status status)
* that were not managed by the parameterized test, and any other teardown logic.
*
* Note: If you are registering a parameter array in param_init() with
- * kunit_register_param_array() then you need to pass kunit_array_gen_params()
+ * kunit_register_params_array() then you need to pass kunit_array_gen_params()
* to this as the generator function.
*/
#define KUNIT_CASE_PARAM_WITH_INIT(test_name, gen_params, init, exit) \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 20:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 20:39 [PATCH] kunit: Fix kunit_register_params_array() reference in kernel-doc Karl Mehltretter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®