Skip to content
Commit 77a0dfcd authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: Document reason for using pci_is_root_bus()



Some code assumes "bus->self == NULL" means the bus is a root bus.  This
adds a comment explaining why this is incorrect ("virtual" buses added for
SR-IOV have "bus->self == NULL" but are not root buses).

No functional change.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 2ba29e27
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment