Re: [PATCH v2 00/11] rust: driver: use pointers instead of indices for ID info

From: Danilo Krummrich

Date: Thu Jul 16 2026 - 15:18:56 EST


On Mon Jun 29, 2026 at 2:39 PM CEST, Gary Guo wrote:
> MAINTAINERS | 1 -
> drivers/acpi/bus.c | 6 +-
> drivers/cpufreq/rcpufreq_dt.rs | 1 -
> drivers/gpu/drm/nova/driver.rs | 1 -
> drivers/gpu/drm/tyr/driver.rs | 1 -
> drivers/gpu/nova-core/driver.rs | 3 +-
> drivers/pwm/pwm_th1520.rs | 1 -
> include/acpi/acpi_bus.h | 11 --
> rust/helpers/acpi.c | 16 ---
> rust/helpers/helpers.c | 1 -
> rust/kernel/acpi.rs | 14 +--
> rust/kernel/auxiliary.rs | 18 +--
> rust/kernel/device_id.rs | 207 +++++++++++++++++++---------------
> rust/kernel/driver.rs | 137 ++--------------------
> rust/kernel/i2c.rs | 26 ++---
> rust/kernel/net/phy.rs | 66 +----------
> rust/kernel/of.rs | 14 +--
> rust/kernel/pci.rs | 25 ++--
> rust/kernel/platform.rs | 5 +-
> rust/kernel/usb.rs | 24 ++--
> samples/rust/rust_debugfs.rs | 1 -
> samples/rust/rust_dma.rs | 3 +-
> samples/rust/rust_driver_auxiliary.rs | 4 +-
> samples/rust/rust_driver_i2c.rs | 3 -
> samples/rust/rust_driver_pci.rs | 11 +-
> samples/rust/rust_driver_platform.rs | 2 -
> samples/rust/rust_driver_usb.rs | 3 +-
> samples/rust/rust_i2c_client.rs | 2 -
> samples/rust/rust_soc.rs | 2 -
> 29 files changed, 178 insertions(+), 431 deletions(-)

I plan to pick this up soon. Please let me know in case there are any concerns
from the acpi, i2c, of, net or usb side of things.

Thanks,
Danilo