On Thu Mar 20, 2025 at 3:07 AM CET, Antonio Hickey wrote:
Replacing all occurrences of `addr_of!(place)` with `&raw const place`.
Again.
This will allow us to reduce macro complexity, and improve consistency with existing reference syntax as `&raw const` is similar to `&` making it fit more naturally with other existing code.
Suggested-by: Benno Lossin benno.lossin@proton.me Link: https://github.com/Rust-for-Linux/linux/issues/1148 Signed-off-by: Antonio Hickey contact@antoniohickey.com
Reviewed-by: Benno Lossin benno.lossin@proton.me
--- Cheers, Benno
rust/kernel/kunit.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)