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

Greg Kroah-Hartman <[email protected]> Fri, 17 Jul 2026 11:40:42 +0200
Newsgroups dev.linux.lists.nova-gpu,dev.linux.lists.driver-core,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-acpi,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci,org.kernel.vger.linux-pm,org.kernel.vger.linux-pwm,org.kernel.vger.linux-usb,org.kernel.vger.netdev,org.kernel.vger.rust-for-linux
Message-ID <2026071729-scored-ogle-430c@gregkh>
On Thu, Jul 16, 2026 at 09:18:05PM +0200, Danilo Krummrich wrote:
> 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.

No objection from me fo rthe USB stuff:

Reviewed-by: Greg Kroah-Hartman <[email protected]>