diff options
author | Lyude Paul <lyude@redhat.com> | 2025-05-14 01:09:56 +0300 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-05-14 01:35:58 +0300 |
commit | b36ff40b4abd0f468564cfe9805f0d8e850cafe9 (patch) | |
tree | cd551221d041430d80719df0006168e301f81e3b /scripts/lib/kdoc/kdoc_parser.py | |
parent | 36b1ccbfa0c2f45fae3e07bf66e40d7fd6704874 (diff) | |
download | linux-b36ff40b4abd0f468564cfe9805f0d8e850cafe9.tar.xz |
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/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions