On Mon, Jul 13, 2026 at 02:45:27PM +0800, Alvin Sun wrote: > Set the miscdevice fops owner field from the driver module pointer > via the `this_module::<T::OwnerModule>()` helper, instead of > defaulting to null. > > Assisted-by: opencode:glm-5.2 > Reviewed-by: Andreas Hindborg <[email protected]> > Reviewed-by: Gary Guo <[email protected]> > Acked-by: Danilo Krummrich <[email protected]> > Signed-off-by: Alvin Sun <[email protected]> > --- > rust/kernel/miscdevice.rs | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)
Acked-by: Greg Kroah-Hartman <[email protected]>

