From: "Gary Guo" <gary@garyguo.net>
To: "Miguel Ojeda" <miguel.ojeda.sandonis@gmail.com>,
"John Hubbard" <jhubbard@nvidia.com>
Cc: "Danilo Krummrich" <dakr@kernel.org>,
"Alexandre Courbot" <acourbot@nvidia.com>,
"Joel Fernandes" <joelagnelf@nvidia.com>,
"Timur Tabi" <ttabi@nvidia.com>,
"Alistair Popple" <apopple@nvidia.com>,
"Eliot Courtney" <ecourtney@nvidia.com>,
"Shashank Sharma" <shashanks@nvidia.com>,
"Zhi Wang" <zhiw@nvidia.com>, "David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Miguel Ojeda" <ojeda@kernel.org>,
"Alex Gaynor" <alex.gaynor@gmail.com>,
"Boqun Feng" <boqun.feng@gmail.com>,
"Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
rust-for-linux@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 3/3] rust: ptr: allow clippy::incompatible_msrv for slice_ptr_len
Date: Sat, 04 Apr 2026 23:09:36 +0100 [thread overview]
Message-ID: <DHKPPLI3TUBA.396C00D1NDPUQ@garyguo.net> (raw)
In-Reply-To: <CANiq72nToewesUCDJS=WBKRvCO-obzixW9+D1vH6s9mJXUeO1Q@mail.gmail.com>
On Sat Apr 4, 2026 at 10:46 PM BST, Miguel Ojeda wrote:
> On Sat, Apr 4, 2026 at 11:28 PM John Hubbard <jhubbard@nvidia.com> wrote:
>>
>> Clippy reports four warnings when building with CLIPPY=1:
>>
>> warning: current MSRV (Minimum Supported Rust Version) is `1.78.0` but this item is stable since `1.79.0`
>> --> rust/kernel/ptr/projection.rs:79:26
>> |
>> 79 | if self >= slice.len() {
>> | ^^^^^
>
> This will also go away with the bump:
>
> https://lore.kernel.org/rust-for-linux/20260401114540.30108-3-ojeda@kernel.org/
>
> Cheers,
> Miguel
I feel like this lint is hurting us rather than helping. Perhaps it's worth
disabling it globally.
Best,
Gary
next prev parent reply other threads:[~2026-04-04 22:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-04 21:28 [PATCH v2 0/3] Fix all clippy warnings in drm-rust-next John Hubbard
2026-04-04 21:28 ` [PATCH v2 1/3] gpu: nova-core: vbios: use from_le_bytes() for PCI ROM header parsing John Hubbard
2026-04-04 21:28 ` [PATCH v2 2/3] gpu: nova-core: fb: fix clippy::precedence warning in read_sysmem_flush_page_ga100() John Hubbard
2026-04-04 21:35 ` John Hubbard
2026-04-05 11:42 ` Alexandre Courbot
2026-04-05 12:13 ` Miguel Ojeda
2026-04-05 12:32 ` Danilo Krummrich
2026-04-06 0:38 ` Alexandre Courbot
2026-04-04 21:28 ` [PATCH v2 3/3] rust: ptr: allow clippy::incompatible_msrv for slice_ptr_len John Hubbard
2026-04-04 21:46 ` Miguel Ojeda
2026-04-04 21:49 ` John Hubbard
2026-04-05 23:22 ` Miguel Ojeda
2026-04-06 5:43 ` John Hubbard
2026-04-04 22:09 ` Gary Guo [this message]
2026-04-05 23:22 ` Miguel Ojeda
2026-04-05 15:16 ` [PATCH v2 0/3] Fix all clippy warnings in drm-rust-next Danilo Krummrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DHKPPLI3TUBA.396C00D1NDPUQ@garyguo.net \
--to=gary@garyguo.net \
--cc=a.hindborg@kernel.org \
--cc=acourbot@nvidia.com \
--cc=airlied@gmail.com \
--cc=alex.gaynor@gmail.com \
--cc=aliceryhl@google.com \
--cc=apopple@nvidia.com \
--cc=bhelgaas@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=dakr@kernel.org \
--cc=ecourtney@nvidia.com \
--cc=jhubbard@nvidia.com \
--cc=joelagnelf@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lossin@kernel.org \
--cc=miguel.ojeda.sandonis@gmail.com \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=shashanks@nvidia.com \
--cc=simona@ffwll.ch \
--cc=tmgross@umich.edu \
--cc=ttabi@nvidia.com \
--cc=zhiw@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.