[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aAOdyzjHlCYYyOto@cassiopeiae>
Date: Sat, 19 Apr 2025 14:57:47 +0200
From: Danilo Krummrich <dakr@...nel.org>
To: bhelgaas@...gle.com, gregkh@...uxfoundation.org, rafael@...nel.org,
ojeda@...nel.org, alex.gaynor@...il.com, boqun.feng@...il.com,
gary@...yguo.net, bjorn3_gh@...tonmail.com, benno.lossin@...ton.me,
a.hindborg@...nel.org, aliceryhl@...gle.com, tmgross@...ch.edu
Cc: linux-pci@...r.kernel.org, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 0/3] Implement TryFrom<&Device> for bus specific
devices
On Fri, Mar 21, 2025 at 10:47:52PM +0100, Danilo Krummrich wrote:
> This series provides a mechanism to safely convert a struct device into its
> corresponding bus specific device instance, if any.
With the following changes, applied to nova-next, thanks.
* rebase onto [1], i.e. make TryFrom impl generic over device::DeviceContext
* drop Device::bus_type_raw(); use dev_is_platform(), devi_is_pci() Rust
helper instead
- Danilo
[1] https://lore.kernel.org/lkml/20250413173758.12068-1-dakr@kernel.org/
Powered by blists - more mailing lists