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 <[email protected]>
---
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)
\