Re: [PATCH 2/3] rust: miscdevice: Implemented `read` and `write`

From: ManeraKai

Date: Thu Sep 18 2025 - 11:57:21 EST


> What type of real misc driver do you want to write in rust that you
> need a read/write callback and not just an ioctl one?

I don't have one in mind. I was reading your book and experimenting with
char drivers. However, I found out that you prefer new developers to use
misc instead:
https://lore.kernel.org/rust-for-linux/2024101256-amplifier-joylessly-6ca9@gregkh/

So, I wanted to safe-wrap misc for new Rust developers (me included).
And go from there to write real drivers.