kunit: Fix kunit_register_params_array() reference in kernel-doc
PATCH 1/1 kunit: Fix kunit_register_params_array() reference in kernel-doc
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(-)
include/kunit/test.h +1 -1
@@ -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) \