linux/rust/kernel/io
Alice Ryhl dd6ff5cf56 rust: io: add typedef for phys_addr_t
The C typedef phys_addr_t is missing an analogue in Rust, meaning that
we end up using bindings::phys_addr_t or ResourceSize as a replacement
in various places throughout the kernel. Fix that by introducing a new
typedef on the Rust side. Place it next to the existing ResourceSize
typedef since they're quite related to each other.

Cc: stable@vger.kernel.org # for v6.18 [1]
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20251112-resource-phys-typedefs-v2-4-538307384f82@google.com
Link: https://lore.kernel.org/all/20251112-resource-phys-typedefs-v2-0-538307384f82@google.com/ [1]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2025-11-13 20:17:24 +11:00
..
mem.rs rust: io: cleanup imports and use "kernel vertical" style 2025-11-11 19:43:39 +11:00
poll.rs rust: io: cleanup imports and use "kernel vertical" style 2025-11-11 19:43:39 +11:00
resource.rs rust: io: add typedef for phys_addr_t 2025-11-13 20:17:24 +11:00