From: Cao jin Date: Sun, 25 Oct 2015 08:23:28 +0000 (+0800) Subject: fix bad indentation in pcie_cap_slot_write_config() X-Git-Tag: v2.5.0-rc0~25^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ba9fe86957c3c8febf74c2495d901ac4061a673;p=thirdparty%2Fqemu.git fix bad indentation in pcie_cap_slot_write_config() bad indentation conflicts with CODING_STYLE doc Signed-off-by: Cao jin Signed-off-by: Michael Tokarev --- diff --git a/hw/pci/pcie.c b/hw/pci/pcie.c index 32c65c27a45..0eab29d5340 100644 --- a/hw/pci/pcie.c +++ b/hw/pci/pcie.c @@ -426,13 +426,13 @@ void pcie_cap_slot_write_config(PCIDevice *dev, */ if ((sltsta & PCI_EXP_SLTSTA_PDS) && (val & PCI_EXP_SLTCTL_PCC) && ((val & PCI_EXP_SLTCTL_PIC_OFF) == PCI_EXP_SLTCTL_PIC_OFF)) { - PCIBus *sec_bus = pci_bridge_get_sec_bus(PCI_BRIDGE(dev)); - pci_for_each_device(sec_bus, pci_bus_num(sec_bus), - pcie_unplug_device, NULL); + PCIBus *sec_bus = pci_bridge_get_sec_bus(PCI_BRIDGE(dev)); + pci_for_each_device(sec_bus, pci_bus_num(sec_bus), + pcie_unplug_device, NULL); - pci_word_test_and_clear_mask(exp_cap + PCI_EXP_SLTSTA, - PCI_EXP_SLTSTA_PDS); - pci_word_test_and_set_mask(exp_cap + PCI_EXP_SLTSTA, + pci_word_test_and_clear_mask(exp_cap + PCI_EXP_SLTSTA, + PCI_EXP_SLTSTA_PDS); + pci_word_test_and_set_mask(exp_cap + PCI_EXP_SLTSTA, PCI_EXP_SLTSTA_PDC); }