This patch series simply drops an blanket implementation of AlwaysRefCounted for gem objects, which would cause issues if any other additional blanket implementations of AlwaysRefCounted were present within the same rust crate. While we're at it, we also introduce a macro in lieu of being able to use a blanket implementation.
Lyude Paul (2): Partially revert "rust: drm: gem: Implement AlwaysRefCounted for all gem objects automatically" rust/drm: Add gem::impl_aref_for_gem_obj! rust/kernel/drm/gem/mod.rs | 59 +++++++++++++++++++++++++------------- 1 file changed, 39 insertions(+), 20 deletions(-) base-commit: 6b35936f058d0cb9171c7be1424b62017b874913 -- 2.51.0