Re: [PATCH rust-next 1/2] rust: miscdevice: add llseek support
From: Greg KH
Date: Mon Aug 18 2025 - 10:40:11 EST
On Mon, Aug 18, 2025 at 10:58:38PM +0900, Ryosuke Yasuoka wrote:
> Add the ability to write a file_operations->llseek hook in Rust when
> using the miscdevice abstraction.
>
> Signed-off-by: Ryosuke Yasuoka <ryasuoka@xxxxxxxxxx>
> ---
> rust/kernel/miscdevice.rs | 36 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
What misc device driver needs any real llseek function? The ones I see
in the tree are only using generic_llseek or noop_llseek.
Do you have a specific misc driver that you want to write in rust that
needs this call?
thanks,
greg k-h