]> Gentwo Git Trees - linux/.git/commitdiff
rust/drm/gem: Fix missing header in `Object` rustdoc
authorLyude Paul <lyude@redhat.com>
Fri, 7 Nov 2025 20:25:56 +0000 (15:25 -0500)
committerAlice Ryhl <aliceryhl@google.com>
Mon, 10 Nov 2025 09:11:01 +0000 (09:11 +0000)
Invariants should be prefixed with a # to turn it into a header.

There are no functional changes in this patch.

Cc: stable@vger.kernel.org
Fixes: c284d3e42338 ("rust: drm: gem: Add GEM object abstraction")
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20251107202603.465932-1-lyude@redhat.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
rust/kernel/drm/gem/mod.rs

index eb5f3feac890758e40e21aad83b773f7df6de060..a7f682e95c0184da3a596290276a75932fef6467 100644 (file)
@@ -164,7 +164,7 @@ impl<T: IntoGEMObject> BaseObject for T {}
 
 /// A base GEM object.
 ///
-/// Invariants
+/// Invariants
 ///
 /// - `self.obj` is a valid instance of a `struct drm_gem_object`.
 #[repr(C)]