Re: [PATCH v3 5/6] rust: miscdevice: set fops.owner from driver module pointer
Andreas Hindborg <[email protected]>
| Newsgroups | org.kernel.vger.linux-modules,dev.linux.lists.driver-core,dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-block,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <[email protected]> |
Alvin Sun <[email protected]> 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 <[email protected]> Reviewed-by: Andreas Hindborg <[email protected]> Best regards, Andreas Hindborg