[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72mdrDE5f+X8hPJ2SjLCxYNM3thrQ3b0wijMg7TLaEpT3g@mail.gmail.com>
Date: Sun, 9 Feb 2025 12:11:34 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Lyude Paul <lyude@...hat.com>
Cc: rust-for-linux@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Maíra Canal <mairacanal@...eup.net>,
Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>, Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, "Rafael J. Wysocki" <rafael@...nel.org>,
Wedson Almeida Filho <wedsonaf@...il.com>, Mika Westerberg <mika.westerberg@...ux.intel.com>,
Xiangfei Ding <dingxiangfei2009@...il.com>, open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] rust/kernel: Add faux device bindings
On Fri, Feb 7, 2025 at 11:29 PM Lyude Paul <lyude@...hat.com> wrote:
>
> I'm curious, does using markdown actually make a difference here? To be
> totally honest most of the time I've put markdown in safety comments it's been
> out of habit rather than expecting it to do something!
No, currently it doesn't. However, we do it to make the style
("rules") easier to remember and to keep it consistent with the rest
of the comments -- so exactly what you say is the goal, i.e. that we
do it "out of habit" since it is the same everywhere.
I could imagine, eventually, some editor or doc renderer taking
advantage of it (some people use ligatures or non-fixed-width fonts
too, so it wouldn't surprise me if some people could like that).
So, yeah, it is not a huge deal, and I don't expect that we will be
able to keep it consistent everywhere as Rust grows in the kernel, but
I hope at least most of it is kept consistent. Clippy (or I guess
AIs...) could help to spot this kind of thing in the future.
Cheers,
Miguel
Powered by blists - more mailing lists