diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2022-06-14 11:40:44 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-06-28 11:06:02 +0200 |
commit | 118d4ed0453c325828e3678608cf32fd9c4a8c49 (patch) | |
tree | 5abedb7cc91f518db8c7e7380ed5c3920ae79ab6 /hw/pci | |
parent | 832fef7cc14d65f99d523f883ef384014e6476a7 (diff) | |
download | qemu-118d4ed0453c325828e3678608cf32fd9c4a8c49.zip qemu-118d4ed0453c325828e3678608cf32fd9c4a8c49.tar.gz qemu-118d4ed0453c325828e3678608cf32fd9c4a8c49.tar.bz2 |
Trivial: 3 char repeat typos
Inspired by Julia Lawall's fixing of Linux
kernel comments, I looked at qemu, although I did it manually.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Message-Id: <20220614104045.85728-2-dgilbert@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/pci')
-rw-r--r-- | hw/pci/pcie_aer.c | 2 | ||||
-rw-r--r-- | hw/pci/shpc.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/hw/pci/pcie_aer.c b/hw/pci/pcie_aer.c index 92bd053..eff62f3 100644 --- a/hw/pci/pcie_aer.c +++ b/hw/pci/pcie_aer.c @@ -323,7 +323,7 @@ static void pcie_aer_msg_root_port(PCIDevice *dev, const PCIEAERMsg *msg) */ } - /* Errro Message Received: Root Error Status register */ + /* Error Message Received: Root Error Status register */ switch (msg->severity) { case PCI_ERR_ROOT_CMD_COR_EN: if (root_status & PCI_ERR_ROOT_COR_RCV) { diff --git a/hw/pci/shpc.c b/hw/pci/shpc.c index f822f18..e71f3a7 100644 --- a/hw/pci/shpc.c +++ b/hw/pci/shpc.c @@ -480,7 +480,8 @@ static const MemoryRegionOps shpc_mmio_ops = { .endianness = DEVICE_LITTLE_ENDIAN, .valid = { /* SHPC ECN requires dword accesses, but the original 1.0 spec doesn't. - * It's easier to suppport all sizes than worry about it. */ + * It's easier to support all sizes than worry about it. + */ .min_access_size = 1, .max_access_size = 4, }, |