Thread (18 messages) 18 messages, 3 authors, 2026-06-22

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

From: "Gary Guo" <gary@garyguo.net>
Date: 2026-06-22 10:48:08
Also in: dri-devel, driver-core, linux-block, linux-kselftest, lkml, nova-gpu, rust-for-linux

On Mon Jun 22, 2026 at 3:44 AM BST, Alvin Sun wrote:
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 <redacted>
Reviewed-by: Gary Guo <gary@garyguo.net>

How is the patch logistics going to be handled? This series probably should be
routed via the rust tree? Perhaps as fixes?

Best,
Gary
---
 rust/kernel/drm/device.rs  | 3 ++-
 rust/kernel/drm/gem/mod.rs | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help