On Thu Dec 11, 2025 at 7:56 PM CET, Gary Guo wrote:
From: Gary Guo gary@garyguo.net
The last null element can be created (constly) using `pin_init::zeroed`, so prefer to use it instead of adding a custom way of building it.
Signed-off-by: Gary Guo gary@garyguo.net
Reviewed-by: Benno Lossin lossin@kernel.org
Cheers, Benno
rust/kernel/kunit.rs | 26 +------------------------- rust/macros/kunit.rs | 4 ++-- 2 files changed, 3 insertions(+), 27 deletions(-)