diff options
author | 2013-09-24 15:14:57 -0600 | |
---|---|---|
committer | 2013-09-25 15:43:58 -0600 | |
commit | 77a0dfcd8a4d9a93a21c8be56eaeb65cd69b351d (patch) | |
tree | 78fc61e77d3976560185ac61c7944755a7009502 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Use pci_is_root_bus() to check for root bus (diff) | |
download | linux-dev-77a0dfcd8a4d9a93a21c8be56eaeb65cd69b351d.tar.xz linux-dev-77a0dfcd8a4d9a93a21c8be56eaeb65cd69b351d.zip |
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: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions