Re: [PATCH v6 1/4] bus/pci: fix registration of PCI device

2025-02-11 Thread Stephen Hemminger
On Thu, 6 Feb 2025 12:54:24 +0200 Shani Peretz wrote: > When registering a new PCI device, the device->name field stored > the user-provided string from devargs (e.g., "08:00.0" or ":08:00.0"). > This approach led to inconsistencies when registering new devices. > > This patch fix this issue

Re: [PATCH v6 1/4] bus/pci: fix registration of PCI device

2025-02-11 Thread Bruce Richardson
On Thu, Feb 06, 2025 at 12:54:24PM +0200, Shani Peretz wrote: > When registering a new PCI device, the device->name field stored > the user-provided string from devargs (e.g., "08:00.0" or ":08:00.0"). > This approach led to inconsistencies when registering new devices. > > This patch fix this

[PATCH v6 1/4] bus/pci: fix registration of PCI device

2025-02-06 Thread Shani Peretz
When registering a new PCI device, the device->name field stored the user-provided string from devargs (e.g., "08:00.0" or ":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 devic