Re: [PATCH v5 04/16] PCI: prevent duplicate slot names

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kenji Kaneshige
Date: Wednesday, October 8, 2008 - 10:31 pm

Alex Chiang wrote:

Thank your new patches. Very quick!!!

Though I have not reviewed/tested your patches yet (of course), I have
one concern as I said in the e-mail soon before. Does the new one
consider the following senario?

 	Scenario C:
 	hotplug driver(A)               	hotplug_driver(B)
 	--------------                  	----------------
        pci_create_slot(name=A, rename=1)
						pci_create_slot(name=B, rename=1)

The hotplug driver (A) creates the slot with name "A". The the hotplug
driver (B) tries to create the same slot, but wants the name "B" instead.
In this case, hotplug driver fails to create the slot and the slot name
should not be changed to "B" from "A".

Thanks,
Kenji Kaneshige

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v5 00/16] PCI: let the core manage slot names, Alex Chiang, (Wed Oct 8, 9:46 pm)
[PATCH v5 04/16] PCI: prevent duplicate slot names, Alex Chiang, (Wed Oct 8, 9:46 pm)
[PATCH v5 15/16] PCI: Hotplug core: remove 'name', Alex Chiang, (Wed Oct 8, 9:47 pm)
Re: [PATCH v5 04/16] PCI: prevent duplicate slot names, Kenji Kaneshige, (Wed Oct 8, 10:31 pm)
Re: [PATCH v5 04/16] PCI: prevent duplicate slot names, Alex Chiang, (Wed Oct 8, 10:56 pm)
Re: [PATCH v5 04/16] PCI: prevent duplicate slot names, Kenji Kaneshige, (Thu Oct 9, 5:32 am)
Re: [PATCH v5 04/16] PCI: prevent duplicate slot names, Kenji Kaneshige, (Thu Oct 9, 9:43 pm)
Re: [PATCH v5 04/16] PCI: prevent duplicate slot names, Alex Chiang, (Thu Oct 9, 10:27 pm)
Re: [PATCH v5 04/16] PCI: prevent duplicate slot names, Kenji Kaneshige, (Fri Oct 10, 1:11 am)
Re: [PATCH v5 04/16] PCI: prevent duplicate slot names, Alex Chiang, (Fri Oct 10, 2:29 pm)