* [PATCH] rust/drm/gem: Fix missing header in `Object` rustdoc
@ 2025-11-07 20:25 Lyude Paul
2025-11-07 20:44 ` Miguel Ojeda
2025-11-10 9:16 ` Alice Ryhl
0 siblings, 2 replies; 3+ messages in thread
From: Lyude Paul @ 2025-11-07 20:25 UTC (permalink / raw)
To: linux-kernel, dri-devel, rust-for-linux
Cc: Danilo Krummrich, Alice Ryhl, David Airlie, Simona Vetter,
Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg,
Trevor Gross, Daniel Almeida, Shankari Anand, Asahi Lina
Invariants should be prefixed with a # to turn it into a header.
There are no functional changes in this patch.
Signed-off-by: Lyude Paul <lyude@redhat.com>
---
rust/kernel/drm/gem/mod.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/kernel/drm/gem/mod.rs b/rust/kernel/drm/gem/mod.rs
index eb5f3feac8907..a7f682e95c018 100644
--- a/rust/kernel/drm/gem/mod.rs
+++ b/rust/kernel/drm/gem/mod.rs
@@ -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)]
base-commit: ade19c5060dfa39b84a9475a4a6b05e2a8a2b3ac
--
2.51.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] rust/drm/gem: Fix missing header in `Object` rustdoc
2025-11-07 20:25 [PATCH] rust/drm/gem: Fix missing header in `Object` rustdoc Lyude Paul
@ 2025-11-07 20:44 ` Miguel Ojeda
2025-11-10 9:16 ` Alice Ryhl
1 sibling, 0 replies; 3+ messages in thread
From: Miguel Ojeda @ 2025-11-07 20:44 UTC (permalink / raw)
To: Lyude Paul
Cc: linux-kernel, dri-devel, rust-for-linux, Danilo Krummrich,
Alice Ryhl, David Airlie, Simona Vetter, Miguel Ojeda,
Alex Gaynor, Boqun Feng, Gary Guo, Björn Roy Baron,
Benno Lossin, Andreas Hindborg, Trevor Gross, Daniel Almeida,
Shankari Anand, Asahi Lina
On Fri, Nov 7, 2025 at 9:26 PM Lyude Paul <lyude@redhat.com> wrote:
>
> Invariants should be prefixed with a # to turn it into a header.
>
> There are no functional changes in this patch.
>
> Signed-off-by: Lyude Paul <lyude@redhat.com>
Thanks for taking care of the docs, very much appreciated :)
Cc: stable@vger.kernel.org
Fixes: c284d3e42338 ("rust: drm: gem: Add GEM object abstraction")
Cheers,
Miguel
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] rust/drm/gem: Fix missing header in `Object` rustdoc
2025-11-07 20:25 [PATCH] rust/drm/gem: Fix missing header in `Object` rustdoc Lyude Paul
2025-11-07 20:44 ` Miguel Ojeda
@ 2025-11-10 9:16 ` Alice Ryhl
1 sibling, 0 replies; 3+ messages in thread
From: Alice Ryhl @ 2025-11-10 9:16 UTC (permalink / raw)
To: Lyude Paul
Cc: linux-kernel, dri-devel, rust-for-linux, Danilo Krummrich,
David Airlie, Simona Vetter, Miguel Ojeda, Alex Gaynor,
Boqun Feng, Gary Guo, Björn Roy Baron, Benno Lossin,
Andreas Hindborg, Trevor Gross, Daniel Almeida, Shankari Anand,
Asahi Lina
On Fri, Nov 07, 2025 at 03:25:56PM -0500, Lyude Paul wrote:
> Invariants should be prefixed with a # to turn it into a header.
>
> There are no functional changes in this patch.
>
> Signed-off-by: Lyude Paul <lyude@redhat.com>
Applied to drm-rust-next. Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-10 9:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-07 20:25 [PATCH] rust/drm/gem: Fix missing header in `Object` rustdoc Lyude Paul
2025-11-07 20:44 ` Miguel Ojeda
2025-11-10 9:16 ` Alice Ryhl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).