diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-24 12:38:40 -0500 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-02-12 19:31:54 -0500 |
| commit | affbda86feef8da5056effe5d71da7981b2a9565 (patch) | |
| tree | 7bf7c99f507e232fff63a510ce0f8542ad8bd8f3 | |
| parent | 8928d5a66df1428fd215e611088822d0bec08f58 (diff) | |
x86/PCI: Reword comments
Reword comments so they make sense.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
| -rw-r--r-- | arch/x86/pci/acpi.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index ef7e92068eb1..0073348b2960 100644 --- a/arch/x86/pci/acpi.c +++ b/arch/x86/pci/acpi.c | |||
| @@ -519,15 +519,12 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) | |||
| 519 | sd->domain = domain; | 519 | sd->domain = domain; |
| 520 | sd->node = node; | 520 | sd->node = node; |
| 521 | sd->companion = device; | 521 | sd->companion = device; |
| 522 | /* | 522 | |
| 523 | * Maybe the desired pci bus has been already scanned. In such case | ||
| 524 | * it is unnecessary to scan the pci bus with the given domain,busnum. | ||
| 525 | */ | ||
| 526 | bus = pci_find_bus(domain, busnum); | 523 | bus = pci_find_bus(domain, busnum); |
| 527 | if (bus) { | 524 | if (bus) { |
| 528 | /* | 525 | /* |
| 529 | * If the desired bus exits, the content of bus->sysdata will | 526 | * If the desired bus has been scanned already, replace |
| 530 | * be replaced by sd. | 527 | * its bus->sysdata. |
| 531 | */ | 528 | */ |
| 532 | memcpy(bus->sysdata, sd, sizeof(*sd)); | 529 | memcpy(bus->sysdata, sd, sizeof(*sd)); |
| 533 | kfree(info); | 530 | kfree(info); |
