Re: [PATCH v3 4/6] rust: drm: set fops.owner from driver module pointer

From: Andreas Hindborg

Date: Mon Jun 22 2026 - 05:47:18 EST


Alvin Sun <alvin.sun@xxxxxxxxx> writes:

> Change `create_fops()` to accept an owner module pointer instead of
> hardcoding `null_mut()`, ensuring the kernel correctly tracks the
> module owning the DRM device's file operations.
>
> Signed-off-by: Alvin Sun <alvin.sun@xxxxxxxxx>

Reviewed-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>


Best regards,
Andreas Hindborg