[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241213134715.601415-1-lee@kernel.org>
Date: Fri, 13 Dec 2024 13:47:05 +0000
From: Lee Jones <lee@...nel.org>
To: lee@...nel.org
Cc: linux-kernel@...r.kernel.org,
arnd@...db.de,
gregkh@...uxfoundation.org,
ojeda@...nel.org,
alex.gaynor@...il.com,
boqun.feng@...il.com,
gary@...yguo.net,
bjorn3_gh@...tonmail.com,
benno.lossin@...ton.me,
a.hindborg@...nel.org,
aliceryhl@...gle.com,
tmgross@...ch.edu,
rust-for-linux@...r.kernel.org
Subject: [PATCH v6 0/5] rust: miscdevice: Provide sample driver using the new MiscDevice bindings
This set depends on Alice's most recent MiscDevice changes:
https://lore.kernel.org/all/20241210-miscdevice-file-param-v3-0-b2a79b666dc5@google.com/
Changelog v5 -> v6:
- pr_info() to dev_info() conversion (based on Alice's new set)
- Moved the example C program from the commit message to the file comments
- Changed mutex-drop commentary
Lee Jones (5):
Documentation: ioctl-number: Carve out some identifiers for use by
sample drivers
samples: rust: Provide example using the new Rust MiscDevice
abstraction
samples: rust_misc_device: Demonstrate additional get/set value
functionality
MAINTAINERS: Add Rust Misc Sample to MISC entry
samples: rust_misc_device: Provide an example C program to exercise
functionality
.../userspace-api/ioctl/ioctl-number.rst | 1 +
MAINTAINERS | 1 +
samples/rust/Kconfig | 10 +
samples/rust/Makefile | 1 +
samples/rust/rust_misc_device.rs | 238 ++++++++++++++++++
5 files changed, 251 insertions(+)
create mode 100644 samples/rust/rust_misc_device.rs
--
2.47.1.613.gc27f4b7a9f-goog
Powered by blists - more mailing lists