Files
linux/rust/kernel
Jesung Yang 5d4ffc531a rust: kunit: use crate-level mapping for c_void
Remove `use core::ffi::c_void`, which shadows `kernel::ffi::c_void`
brought in via `use crate::prelude::*`, to maintain consistency and
centralize the abstraction.

Since `kernel::ffi::c_void` is a straightforward re-export of
`core::ffi::c_void`, both are functionally equivalent. However, using
`kernel::ffi::c_void` improves consistency across the kernel's Rust code
and provides a unified reference point in case the definition ever needs
to change, even if such a change is unlikely.

Reviewed-by: Benno Lossin <lossin@kernel.org>
Link: https://rust-for-linux.zulipchat.com/#narrow/channel/288089/topic/x/near/520452733
Signed-off-by: Jesung Yang <y.j3ms.n@gmail.com>
Link: https://lore.kernel.org/r/20250528174953.2948570-1-y.j3ms.n@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-06-24 00:55:22 +02:00
..
2025-06-22 23:09:32 +02:00
2025-06-22 23:08:42 +02:00
2025-06-22 23:08:42 +02:00
2025-06-22 23:08:42 +02:00
2025-05-19 12:55:40 +05:30
2025-06-22 23:08:42 +02:00
2025-06-22 23:09:17 +02:00
2025-03-16 21:59:19 +01:00
2025-06-22 23:09:17 +02:00
2025-06-22 23:09:17 +02:00
2025-06-22 23:08:42 +02:00
2025-06-22 23:09:17 +02:00
2024-10-08 15:44:36 +02:00
2025-06-22 23:08:42 +02:00
2025-06-22 23:09:32 +02:00
2025-04-29 15:31:07 +02:00
2024-11-04 16:21:44 -05:00