From: "Nicolás Antinori" <nico.antinori.7@gmail.com>
To: Igor Korotin <igor.korotin@linux.dev>,
Danilo Krummrich <dakr@kernel.org>,
Georgios Androutsopoulos <georgeandrout13@gmail.com>
Cc: "Nicolás Antinori" <nico.antinori.7@gmail.com>,
"Alexandre Courbot" <acourbot@nvidia.com>,
"Alice Ryhl" <aliceryhl@google.com>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Benno Lossin" <lossin@kernel.org>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Boqun Feng" <boqun@kernel.org>,
"Daniel Almeida" <daniel.almeida@collabora.com>,
"Gary Guo" <gary@garyguo.net>, "Miguel Ojeda" <ojeda@kernel.org>,
"Onur Özkan" <work@onurozkan.dev>,
"Tamir Duberstein" <tamird@kernel.org>,
"Trevor Gross" <tmgross@umich.edu>,
linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org
Subject: [PATCH v2 0/2] remove TryFrom<&Device> implementations for pci and platform
Date: Wed, 4 Nov 2026 16:50:13 -0300 [thread overview]
Message-ID: <cover.1793818280.git.nico.antinori.7@gmail.com> (raw)
Hello,
This patch series removes `TryFrom<&Device<Ctx>>` implementations for
pci and platform's `Device` struct.
I made this a series because both TryFrom implementations were
introduced in a series:
https://lore.kernel.org/all/20250321214826.140946-1-dakr@kernel.org/
Changelog:
v2:
- Replaced "Closes:" tags with "Link:" tag in both patches.
- Added mention to the soundness problem in the commit messages.
- Removed bindings::dev_is_platform C binding since it has no other
usages.
- Solved Sashiko from v1: "[Low] rust: pci: unused
rust_helper_dev_is_pci() left in rust/helpers/pci.c": Deleted the
binding. Platform was in the same situation as mentioned in the
previous item.
Link to v1: https://lore.kernel.org/rust-for-linux/cover.1792417858.git.nico.antinori.7@gmail.com/T/#t
Best regards,
Nicolás
Nicolás Antinori (2):
rust: pci: remove TryFrom<&Device> implementation for &pci::Device
rust: platform: remove TryFrom<&Device> implementation for
&platform::Device
rust/helpers/helpers.c | 1 -
rust/helpers/pci.c | 5 -----
rust/helpers/platform.c | 8 --------
rust/kernel/pci.rs | 21 ---------------------
rust/kernel/platform.rs | 21 ---------------------
5 files changed, 56 deletions(-)
delete mode 100644 rust/helpers/platform.c
--
2.47.3
next reply other threads:[~2026-11-04 19:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 19:50 Nicolás Antinori [this message]
2026-11-04 19:50 ` [PATCH v2 1/2] rust: pci: remove TryFrom<&Device> implementation for &pci::Device Nicolás Antinori
2026-11-04 19:50 ` [PATCH v2 2/2] rust: platform: remove TryFrom<&Device> implementation for &platform::Device Nicolás Antinori
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=cover.1793818280.git.nico.antinori.7@gmail.com \
--to=nico.antinori.7@gmail.com \
--cc=a.hindborg@kernel.org \
--cc=acourbot@nvidia.com \
--cc=aliceryhl@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=dakr@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=gary@garyguo.net \
--cc=georgeandrout13@gmail.com \
--cc=igor.korotin@linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=lossin@kernel.org \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=tamird@kernel.org \
--cc=tmgross@umich.edu \
--cc=work@onurozkan.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®