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

Igor Korotin <[email protected]> Sun, 02 Aug 2026 20:27:50 +0100
Newsgroups org.kernel.vger.linux-pwm,dev.linux.lists.driver-core,dev.linux.lists.nova-gpu,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-usb,org.kernel.vger.netdev,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
Hi Danilo,

Sorry for the silence -- I was offline for personal reasons for about two
weeks from the 16th, and missed this before it got applied.

Checked 6-9/11 now: the i2c bits are correct. Unlike PCI/USB, i2c has no
dynamic-ID (new_id) mechanism, so i2c_match_id() can only ever return a
pointer that IdArray::new() actually populated -- the plain
info_unchecked() (not _opt) in i2c_id_info() is the right call, not an
oversight.

Cheers
Igor