Code comment says "table 6-2" but in fact it's is not a table, it is "Figure 6-2" on page 479.
Cc: Chen Fan <chen.fan.f...@cn.fujitsu.com> Reported-by: Michael Tokarev <m...@tls.msk.ru> Signed-off-by: Michael S. Tsirkin <m...@redhat.com> --- hw/pci/pcie_aer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/pci/pcie_aer.c b/hw/pci/pcie_aer.c index 9126058..eaa3e6e 100644 --- a/hw/pci/pcie_aer.c +++ b/hw/pci/pcie_aer.c @@ -622,8 +622,8 @@ static bool pcie_aer_inject_uncor_error(PCIEAERInject *inj, bool is_fatal) * * 6.2.4 Error Logging * 6.2.5 Sequence of Device Error Signaling and Logging Operations - * table 6-2: Flowchart Showing Sequence of Device Error Signaling and Logging - * Operations + * Figure 6-2: Flowchart Showing Sequence of Device Error Signaling and Logging + * Operations */ int pcie_aer_inject_error(PCIDevice *dev, const PCIEAERErr *err) { -- MST