[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72kbHnPR8_y_Q3a8b7H=4wDorbBS5VxWD1NfD3yarEW-Vg@mail.gmail.com>
Date: Wed, 30 Apr 2025 05:27:40 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Matthew Maurer <mmaurer@...gle.com>
Cc: 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>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>, Sami Tolvanen <samitolvanen@...gle.com>,
linux-kernel@...r.kernel.org, rust-for-linux@...r.kernel.org
Subject: Re: [PATCH 2/8] rust: debugfs: Bind file creation for long-lived Display
Hi Matthew,
Since I was playing around with this series, I noticed Clippy
complained about a few things (please see `make ..... CLIPPY=1`):
On Wed, Apr 30, 2025 at 1:16 AM Matthew Maurer <mmaurer@...gle.com> wrote:
>
> + 0444,
This is decimal rather than octal.
> +// # Safety
> +// * seq must point to a live seq_file whose private data is a live pointer to a T which is not
> +// being mutated.
This should be `///` (also, since I am here, please use Markdown etc.).
There are a couple other classes of lints that Clippy mentions that
should be cleaned up or allowed elsewhere.
Thanks!
Cheers,
Miguel
Powered by blists - more mailing lists