summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>2015-03-10 09:49:48 +0800
committerMichael S. Tsirkin <mst@redhat.com>2015-03-18 12:19:16 +0100
commitb01738c23da718678469cbe85c0a4a82b19652d4 (patch)
tree725d8c46ff54fbdb012e670d9d0d8e8df5d4b325 /hw
parent77a3c1d730a14c86f3f5692be9906b206afc3d3e (diff)
downloadhqemu-b01738c23da718678469cbe85c0a4a82b19652d4.zip
hqemu-b01738c23da718678469cbe85c0a4a82b19652d4.tar.gz
pcie_aer: fix typos in pcie_aer_inject_error comment
Refer to "PCI Express Base Spec3.0", this comments can't fit the description in spec, so we should fix them. Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/pci/pcie_aer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/pci/pcie_aer.c b/hw/pci/pcie_aer.c
index c7fad34..9daebc2 100644
--- a/hw/pci/pcie_aer.c
+++ b/hw/pci/pcie_aer.c
@@ -618,11 +618,11 @@ static bool pcie_aer_inject_uncor_error(PCIEAERInject *inj, bool is_fatal)
* non-Function specific error must be recorded in all functions.
* It is the responsibility of the caller of this function.
* It is also caller's responsibility to determine which function should
- * report the rerror.
+ * report the error.
*
* 6.2.4 Error Logging
- * 6.2.5 Sqeunce of Device Error Signaling and Logging Operations
- * table 6-2: Flowchard Showing Sequence of Device Error Signaling and 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
*/
int pcie_aer_inject_error(PCIDevice *dev, const PCIEAERErr *err)
OpenPOWER on IntegriCloud