aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorLyude Paul <[email protected]>2025-05-13 22:09:56 +0000
committerDanilo Krummrich <[email protected]>2025-05-13 22:35:58 +0000
commitb36ff40b4abd0f468564cfe9805f0d8e850cafe9 (patch)
treecd551221d041430d80719df0006168e301f81e3b /rust/helpers/platform.c
parentrust: drm: gem: Refactor IntoGEMObject::from_gem_obj() to as_ref() (diff)
downloadkernel-b36ff40b4abd0f468564cfe9805f0d8e850cafe9.tar.gz
kernel-b36ff40b4abd0f468564cfe9805f0d8e850cafe9.zip
rust: drm: gem: s/into_gem_obj()/as_raw()/
There's a few changes here: * The rename, of course (this should also let us drop the clippy annotation here) * Return *mut bindings::drm_gem_object instead of &Opaque<bindings::drm_gem_object> - the latter doesn't really have any benefit and just results in conversion from the rust type to the C type having to be more verbose than necessary. Signed-off-by: Lyude Paul <[email protected]> Reviewed-by: Daniel Almeida <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Fixup s/into_gem_obj()/as_raw()/ in safety comment. - Danilo ] Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions