]> git.ipfire.org Git - thirdparty/linux.git/commit
rust: io: define ResourceSize as resource_size_t
authorAlice Ryhl <aliceryhl@google.com>
Wed, 12 Nov 2025 09:48:32 +0000 (09:48 +0000)
committerDanilo Krummrich <dakr@kernel.org>
Thu, 13 Nov 2025 08:58:24 +0000 (19:58 +1100)
commit919b72922717e396be9435c83916b9969505bd23
tree78e9b863568d7435d1a784a36e7bae9f21beddc8
parentededb7bcdfdbcfbb7af93e3a543165a9553e1683
rust: io: define ResourceSize as resource_size_t

These typedefs are always equivalent so this should not change anything,
but the code makes a lot more sense like this.

Cc: stable@vger.kernel.org
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Fixes: 493fc33ec252 ("rust: io: add resource abstraction")
Link: https://patch.msgid.link/20251112-resource-phys-typedefs-v2-1-538307384f82@google.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/io/resource.rs