Re: [PATCH v3 1/9] ata: don't store pci_device_id
From: Damien Le Moal
Date: Mon Jul 06 2026 - 21:13:12 EST
On 7/6/26 23:11, Gary Guo wrote:
> pci_device_id is not guaranteed to live longer than probe due to presence
> of dynamic ID. All information apart from driver_data can be easily
> retrieved from pci_dev, so just store driver_data.
>
> Reviewed-by: Danilo Krummrich <dakr@xxxxxxxxxx>
> Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>
Looks good, but please change the commit title to:
ata: ata_generic: don't store pci_device_id
With that,
Acked-by: Damien Le Moal <dlemoal@xxxxxxxxxx>
--
Damien Le Moal
Western Digital Research