]> git.ipfire.org Git - thirdparty/pciutils.git/commit
lspci: Do not show -[00]- bus in tree output
authorPali Rohár <pali@kernel.org>
Fri, 31 Dec 2021 13:39:51 +0000 (14:39 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 10 Feb 2022 12:49:35 +0000 (13:49 +0100)
commitfd9c6a29a32659287cb7be52b2f2ca638cda35ad
tree694da6f6a26d2f911d334d93d943690c48271e52
parent67954c8b6514859a0e115538200187f3a1ffd366
lspci: Do not show -[00]- bus in tree output

Secondary or subordinate bus cannot be zero. Zero value could indicate
either invalid secondary bus value or the fact that secondary bus value was
not filled or indicates non-compliant PCI-to-PCI bridge. This change makes
tree output better readable when bus numbers are not known or not provided.
ls-tree.c