On Thu, 6 Feb 2025 12:54:24 +0200
Shani Peretz <[email protected]> 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: [email protected]
> Signed-off-by: Shani Peretz <[email protected]>

This part looks good, second part needs work.

Acked-by: Stephen Hemminger <[email protected]>

Reply via email to