aboutsummaryrefslogtreecommitdiff
path: root/hw/pci/shpc.c
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2023-07-14 14:27:04 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2023-09-20 07:54:34 +0300
commitf1c0cff8a28ac25f48ecaea672eb3d68250bb3c4 (patch)
treedb97cf9d628a18c15a28e0af6f92a818dbd80ef0 /hw/pci/shpc.c
parent2431f4f184339f679ff665c75e927fc24f7bd430 (diff)
downloadqemu-f1c0cff8a28ac25f48ecaea672eb3d68250bb3c4.zip
qemu-f1c0cff8a28ac25f48ecaea672eb3d68250bb3c4.tar.gz
qemu-f1c0cff8a28ac25f48ecaea672eb3d68250bb3c4.tar.bz2
hw/pci: spelling fixes
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/pci/shpc.c')
-rw-r--r--hw/pci/shpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci/shpc.c b/hw/pci/shpc.c
index e7bc719..df7f370 100644
--- a/hw/pci/shpc.c
+++ b/hw/pci/shpc.c
@@ -615,7 +615,7 @@ int shpc_init(PCIDevice *d, PCIBus *sec_bus, MemoryRegion *bar,
}
if (nslots > SHPC_MAX_SLOTS ||
SHPC_IDX_TO_PCI(nslots) > PCI_SLOT_MAX) {
- /* TODO: report an error mesage that makes sense. */
+ /* TODO: report an error message that makes sense. */
return -EINVAL;
}
shpc->nslots = nslots;