summaryrefslogtreecommitdiff
path: root/hw/pci
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-03-23 15:59:57 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2016-05-18 15:04:27 +0300
commitcb8d4c8f54b8271f642f02382eec29d468bb1c77 (patch)
tree93a1691d7a5d90ddbb77a3210299089fcede4947 /hw/pci
parentd506dc87b97659f08c65d3bb470b1b7bfd789759 (diff)
downloadqemu-cb8d4c8f54b8271f642f02382eec29d468bb1c77.tar.gz
Fix some typos found by codespell
Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/pci')
-rw-r--r--hw/pci/msi.c2
-rw-r--r--hw/pci/pci_bridge.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/pci/msi.c b/hw/pci/msi.c
index e0e64c2d9e..a87ef4d752 100644
--- a/hw/pci/msi.c
+++ b/hw/pci/msi.c
@@ -40,7 +40,7 @@
*
* Setting this flag to false will remove MSI/MSI-X capability from all devices.
*
- * It is preferrable for controllers to set this to true (non-broken) even if
+ * It is preferable for controllers to set this to true (non-broken) even if
* they do not actually support MSI/MSI-X: guests normally probe the controller
* type and do not attempt to enable MSI/MSI-X with interrupt controllers not
* supporting such, so removing the capability is not required, and
diff --git a/hw/pci/pci_bridge.c b/hw/pci/pci_bridge.c
index 3cf30bd334..5118ef404f 100644
--- a/hw/pci/pci_bridge.c
+++ b/hw/pci/pci_bridge.c
@@ -116,7 +116,7 @@ pcibus_t pci_bridge_get_base(const PCIDevice *bridge, uint8_t type)
return base;
}
-/* accessor funciton to get bridge filtering limit */
+/* accessor function to get bridge filtering limit */
pcibus_t pci_bridge_get_limit(const PCIDevice *bridge, uint8_t type)
{
pcibus_t limit;