summaryrefslogtreecommitdiff
path: root/hw/pci/pci_host.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-03-18 17:20:07 +0000
committerStefan Hajnoczi <stefanha@redhat.com>2013-03-22 13:25:07 +0100
commit085d813407453e498e05c37d988efba8c6f5af0a (patch)
tree3bc30c89ef521b114d59f11ed0fa8a2039faf53a /hw/pci/pci_host.c
parenta7b66fa7aefb8dce564f0fa665de7965d3007148 (diff)
downloadqemu-085d813407453e498e05c37d988efba8c6f5af0a.tar.gz
Fix typos and misspellings
Fix various typos and misspellings. The bulk of these were found with codespell. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/pci/pci_host.c')
-rw-r--r--hw/pci/pci_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci/pci_host.c b/hw/pci/pci_host.c
index daca1c1ea0..12254b18a9 100644
--- a/hw/pci/pci_host.c
+++ b/hw/pci/pci_host.c
@@ -38,7 +38,7 @@ do { printf("pci_host_data: " fmt , ## __VA_ARGS__); } while (0)
* bit 0 - 7: offset in configuration space of a given pci device
*/
-/* the helper functio to get a PCIDeice* for a given pci address */
+/* the helper function to get a PCIDevice* for a given pci address */
static inline PCIDevice *pci_dev_find_by_addr(PCIBus *bus, uint32_t addr)
{
uint8_t bus_num = addr >> 16;