Re: [PATCH v3 5/6] rust: miscdevice: set fops.owner from driver module pointer
From: Andreas Hindborg
Date: Mon Jun 22 2026 - 05:45:58 EST
Alvin Sun <alvin.sun@xxxxxxxxx> writes:
> Set the miscdevice fops owner field from the driver module pointer
> via the `this_module::<T::OwnerModule>()` helper, instead of
> defaulting to null.
>
> Signed-off-by: Alvin Sun <alvin.sun@xxxxxxxxx>
Reviewed-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
Best regards,
Andreas Hindborg