mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
pcie: fix typo in pcie_cap_deverr_init()
Reported-by: https://bugs.launchpad.net/qemu/+bug/1393440 Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
4f99ab7a78
commit
8e815eeefe
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ void pcie_cap_deverr_init(PCIDevice *dev)
|
||||||
PCI_EXP_DEVCTL_FERE | PCI_EXP_DEVCTL_URRE);
|
PCI_EXP_DEVCTL_FERE | PCI_EXP_DEVCTL_URRE);
|
||||||
pci_long_test_and_set_mask(dev->w1cmask + pos + PCI_EXP_DEVSTA,
|
pci_long_test_and_set_mask(dev->w1cmask + pos + PCI_EXP_DEVSTA,
|
||||||
PCI_EXP_DEVSTA_CED | PCI_EXP_DEVSTA_NFED |
|
PCI_EXP_DEVSTA_CED | PCI_EXP_DEVSTA_NFED |
|
||||||
PCI_EXP_DEVSTA_URD | PCI_EXP_DEVSTA_URD);
|
PCI_EXP_DEVSTA_FED | PCI_EXP_DEVSTA_URD);
|
||||||
}
|
}
|
||||||
|
|
||||||
void pcie_cap_deverr_reset(PCIDevice *dev)
|
void pcie_cap_deverr_reset(PCIDevice *dev)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue