diff options
author | 2025-05-13 18:09:56 -0400 | |
---|---|---|
committer | 2025-05-14 00:35:58 +0200 | |
commit | b36ff40b4abd0f468564cfe9805f0d8e850cafe9 (patch) | |
tree | cd551221d041430d80719df0006168e301f81e3b /scripts/gdb/linux/utils.py | |
parent | rust: drm: gem: Refactor IntoGEMObject::from_gem_obj() to as_ref() (diff) | |
download | wireguard-linux-b36ff40b4abd0f468564cfe9805f0d8e850cafe9.tar.xz wireguard-linux-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 <lyude@redhat.com>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Link: https://lore.kernel.org/r/20250513221046.903358-4-lyude@redhat.com
[ Fixup s/into_gem_obj()/as_raw()/ in safety comment. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions