On Wed, 12 Feb 2025 18:38:32 +0200 Shani Peretz <shper...@nvidia.com> wrote:
> When registering a new PCI device, the device->name field stored > the user-provided string from devargs (e.g., "08:00.0" or "0000:08:00.0"). > This approach led to inconsistencies when registering new devices. > > This patch fix this issue by saving the parsed PCI in device->name, > so when a new PCI device is registering the name displayed in the device > list will be the parsed version. > > Fixes: 23eaa9059ec2 ("bus/pci: use given name as generic name") > > Cc: sta...@dpdk.org > Signed-off-by: Shani Peretz <shper...@nvidia.com> Acked-by: Stephen Hemminger <step...@networkplumber.org>