aboutsummaryrefslogtreecommitdiff
path: root/hw/pci/pci_host.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-03-22 13:05:57 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2013-03-22 13:05:57 -0500
commitcecd77ae6df060bbe8f0eea6691112097e680a52 (patch)
tree4c82bcf59884c6555cb0199a1f96a26a2dfaf83a /hw/pci/pci_host.c
parentf9308207040dc4a1484cee459bedaec03645b935 (diff)
parent01ed1d527c59356e6c4c9d54b5710a3c9e78ce4e (diff)
downloadqemu-cecd77ae6df060bbe8f0eea6691112097e680a52.zip
qemu-cecd77ae6df060bbe8f0eea6691112097e680a52.tar.gz
qemu-cecd77ae6df060bbe8f0eea6691112097e680a52.tar.bz2
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
# By liguang (2) and others # Via Stefan Hajnoczi * stefanha/trivial-patches: qdev: remove redundant abort() gitignore: ignore more files Use proper term in TCG README serial: Fix debug format strings Fix typos and misspellings Advertise --libdir in configure --help output memory: fix a bug of detection of memory region collision MinGW: Replace setsockopt by qemu_setsocketopt
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 daca1c1..12254b1 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;