From: Michael Brown Date: Sat, 16 Apr 2005 11:43:16 +0000 (+0000) Subject: Consistency X-Git-Tag: v0.9.3~1914 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bd3e883d76f8cd57ffb4fa10440b504b50d2803;p=thirdparty%2Fipxe.git Consistency --- diff --git a/src/drivers/bus/pci.c b/src/drivers/bus/pci.c index 7c4e46aaa..37aa1cd9b 100644 --- a/src/drivers/bus/pci.c +++ b/src/drivers/bus/pci.c @@ -31,8 +31,9 @@ static int fill_pci_device ( struct pci_device *pci ) { int reg; /* Check bus is within range */ - if ( PCI_BUS ( pci->busdevfn ) > pci_max_bus ) + if ( PCI_BUS ( pci->busdevfn ) > pci_max_bus ) { return 0; + } /* Check to see if we've cached the result that this is a * non-zero function on a non-existent card. This is done to