]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Jan 2026 11:57:05 +0000 (12:57 +0100)
commit0bf59179bdef493a39061cfd3263bc0578f852b0
tree198619f7b71256b7a0a50329bcab4bd68f306e1f
parent93b3274587e8d747d99c2cb77164a9b2304c0935
rust: io: define ResourceSize as resource_size_t

commit 919b72922717e396be9435c83916b9969505bd23 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rust/kernel/io/resource.rs