Files
erofs-linux/rust/kernel/drm/gem
Eliot Courtney 2e42a17b8f rust: drm: gem: clean up GEM state in init failure case
Currently, if `drm_gem_object_init` fails, the object is freed without
any cleanup. Perform the cleanup in that case.

Cc: [email protected]
Fixes: c284d3e423 ("rust: drm: gem: Add GEM object abstraction")
Signed-off-by: Eliot Courtney <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Onur Özkan <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ Move safety comment closer to unsafe block to avoid a clippy warning.
  - Danilo ]
Signed-off-by: Danilo Krummrich <[email protected]>
2026-05-01 16:39:08 +02:00
..
2026-04-27 02:07:44 +02:00