Michael Brown пре 19 година
родитељ
комит
7bd3e883d7
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2
    1
      src/drivers/bus/pci.c

+ 2
- 1
src/drivers/bus/pci.c Прегледај датотеку

31
 	int reg;
31
 	int reg;
32
 
32
 
33
 	/* Check bus is within range */
33
 	/* Check bus is within range */
34
-	if ( PCI_BUS ( pci->busdevfn ) > pci_max_bus )
34
+	if ( PCI_BUS ( pci->busdevfn ) > pci_max_bus ) {
35
 		return 0;
35
 		return 0;
36
+	}
36
 
37
 
37
 	/* Check to see if we've cached the result that this is a
38
 	/* Check to see if we've cached the result that this is a
38
 	 * non-zero function on a non-existent card.  This is done to
39
 	 * non-zero function on a non-existent card.  This is done to

Loading…
Откажи
Сачувај