Re: [PATCH v4 0/3] Implement TryFrom<&Device> for bus specific devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx/




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux