]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: miscdevice: Provide additional abstractions for iov_iter and kiocb structures
authorAlice Ryhl <aliceryhl@google.com>
Fri, 22 Aug 2025 08:42:35 +0000 (08:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 11:27:20 +0000 (13:27 +0200)
commit39c2745b37dac18c6604083f26caea3fd7e4c50b
tree651a451cedb7f1b380797a99c687bb2f333a1f89
parent5e15de179a204ce26623d8468283ac04a0dc672f
rust: miscdevice: Provide additional abstractions for iov_iter and kiocb structures

These will be used for the read_iter() and write_iter() callbacks, which
are now the preferred back-ends for when a user operates on a char device
with read() and write() respectively.

Co-developed-by: Lee Jones <lee@kernel.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250822-iov-iter-v5-4-6ce4819c2977@google.com
rust/kernel/miscdevice.rs