PCI: hotplug: Document unchecked return value of pci_hp_add_bridge()
authorNam Cao <namcao@linutronix.de>
Fri, 3 May 2024 19:23:21 +0000 (21:23 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 3 May 2024 21:25:52 +0000 (16:25 -0500)
commite6e9a9a455fd19f00250634bc0405e69396bd522
tree86b9eb95c4914d174aa68def99228f792fd3b904
parent4cece764965020c22cff7665b18a012006359095
PCI: hotplug: Document unchecked return value of pci_hp_add_bridge()

Some hotplug drivers do not check the return value of pci_hp_add_bridge().
This may be problematic if the driver proceeds after pci_hp_add_bridge()
fails.

Link: https://lore.kernel.org/r/16a2442ea6ee896987a44df3ed509e4cfde44475.1714762038.git.namcao@linutronix.de
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/TODO