[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <D8OVATSS19YC.1GXZRNM6TBA0X@proton.me>
Date: Mon, 24 Mar 2025 22:59:22 +0000
From: Benno Lossin <benno.lossin@...ton.me>
To: Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>
Cc: Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>, Björn Roy Baron <bjorn3_gh@...tonmail.com>, Andreas Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>, Danilo Krummrich <dakr@...nel.org>, rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org, patches@...ts.linux.dev
Subject: Re: [PATCH 00/10] rust: clean and enable Clippy `doc_markdown` lint
On Mon Mar 24, 2025 at 10:03 PM CET, Miguel Ojeda wrote:
> This is how it would look like -- I am not sure how many false positives
> we will get, so I marked the last commit as RFC and perhaps we just want
> this lint as an opt-in in e.g. `W=2`.
I think we should try. If it's too much trouble, we can disable it
again.
> However, so far, we only got one ("KUnit"), plus a couple others that
> are in C side comments that were copied, and thus someone may want to
> keep them exactly in sync. So it seems pretty OK so far.
>
> Another question is whether we want to commit to something like the
> global list in `.clippy.toml`.
Not sure what you mean by this, but I think we need some way to disable
it for some acronyms.
> Anyway, please take a look -- the other commits should probably be
> picked even if we do not enable the lint.
For the entire series:
Reviewed-by: Benno Lossin <benno.lossin@...ton.me>
---
Cheers,
Benno
> Thanks!
>
> Miguel Ojeda (10):
> drm/panic: add missing space
> drm/panic: add missing Markdown code span
> rust: alloc: add missing Markdown code spans
> rust: alloc: add missing Markdown code span
> rust: dma: add missing Markdown code span
> rust: of: add missing Markdown code span
> rust: pci: fix docs related to missing Markdown code spans
> rust: platform: fix docs related to missing Markdown code spans
> rust: task: add missing Markdown code spans and intra-doc links
> rust: kbuild: enable `doc_markdown` Clippy lint
>
> .clippy.toml | 4 ++++
> Makefile | 1 +
> drivers/gpu/drm/drm_panic_qr.rs | 4 ++--
> rust/kernel/alloc.rs | 4 ++--
> rust/kernel/alloc/allocator_test.rs | 2 +-
> rust/kernel/dma.rs | 2 +-
> rust/kernel/of.rs | 2 +-
> rust/kernel/pci.rs | 15 +++++++++------
> rust/kernel/platform.rs | 9 +++++----
> rust/kernel/task.rs | 4 ++--
> 10 files changed, 28 insertions(+), 19 deletions(-)
>
> --
> 2.49.0
Powered by blists - more mailing lists