Update KUnit Rust binding macro-rule 'kunit_unsafe_test_suite' to add and initialize the newly introduced 'kunit_suite.status'. Without this 'kunit_suite.status' field is never initialized which is an error for the Rust compiler.
Suggested-by: David Gow <[email protected]> Signed-off-by: Vaibhav Jain <[email protected]> --- Changelog ========= V2->V3: Patch, not present in earlier version --- rust/kernel/kunit.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/kernel/kunit.rs b/rust/kernel/kunit.rs index a1edf7491579..e07894c72d0d 100644 --- a/rust/kernel/kunit.rs +++ b/rust/kernel/kunit.rs @@ -288,6 +288,7 @@ macro_rules! kunit_unsafe_test_suite { log: ::core::ptr::null_mut(), suite_init_err: 0, is_init: false, + status: kernel::bindings::kunit_status_KUNIT_SUCCESS, }; #[used(compiler)] -- 2.54.0

