[PATCH v2 0/2] Additional miscdevice fops parameters

From: Alice Ryhl
Date: Mon Dec 09 2024 - 02:28:01 EST


This could not land with the base miscdevice abstractions due to the
dependency on File.

Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
---
Changes in v2:
- Access the `struct miscdevice` from fops->open().
- Link to v1: https://lore.kernel.org/r/20241203-miscdevice-file-param-v1-1-1d6622978480@xxxxxxxxxx

---
Alice Ryhl (2):
rust: miscdevice: access file in fops
rust: miscdevice: access the `struct miscdevice` from fops->open()

rust/kernel/miscdevice.rs | 44 ++++++++++++++++++++++++++++++++++++++------
1 file changed, 38 insertions(+), 6 deletions(-)
---
base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37
change-id: 20241203-miscdevice-file-param-5df7f75861da

Best regards,
--
Alice Ryhl <aliceryhl@xxxxxxxxxx>