Pure typo fixes in code comments and doxygen documentation,
no behavior change.
- hw/xen/xen-pvh-common.c: "accomodate" -> "accommodate"
- hw/net/npcm_gmac.c: "being transfered" -> "being transferred"
- hw/display/dm163.c: "stored accross" -> "stored across"
- target/arm/cpu.h: "physical adress space" -> "physical address space"
- target/arm/tcg/gengvec64.c: "saturation occured" -> "saturation occurred"
- include/migration/register.h: "error occured" -> "error occurred"
- tests/qtest/pnv-host-i2c-test.c: "Recieve len bytes" -> "Receive len bytes"
- migration/multifd.c: "other thread writting" -> "other thread writing"
Signed-off-by: Clinton Phillips <clintdotphillips@gmail.com>
---
hw/display/dm163.c | 2 +-
hw/net/npcm_gmac.c | 2 +-
hw/xen/xen-pvh-common.c | 2 +-
include/migration/register.h | 2 +-
migration/multifd.c | 2 +-
target/arm/cpu.h | 2 +-
target/arm/tcg/gengvec64.c | 2 +-
tests/qtest/pnv-host-i2c-test.c | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/hw/display/dm163.c b/hw/display/dm163.c
index afade0b..04e59b2 100644
--- a/hw/display/dm163.c
+++ b/hw/display/dm163.c
@@ -152,7 +152,7 @@ static void dm163_en_b_gpio_handler(void *opaque, int line, int new_state)
static uint8_t dm163_bank0(const DM163State *s, uint8_t led)
{
/*
- * Bank 0 uses 6 bits per led, so a value may be stored accross
+ * Bank 0 uses 6 bits per led, so a value may be stored across
* two uint64_t entries.
*/
const uint8_t low_bit = 6 * led;
diff --git a/hw/net/npcm_gmac.c b/hw/net/npcm_gmac.c
index d9902d9..b85a37f 100644
--- a/hw/net/npcm_gmac.c
+++ b/hw/net/npcm_gmac.c
@@ -278,7 +278,7 @@ static int gmac_rx_transfer_frame_to_buffer(uint32_t rx_buf_len,
{
uint32_t to_transfer;
/*
- * Check that buffer is bigger than the frame being transfered
+ * Check that buffer is bigger than the frame being transferred
* If bigger then transfer only whats left of frame
* Else, fill frame with all the content possible
*/
diff --git a/hw/xen/xen-pvh-common.c b/hw/xen/xen-pvh-common.c
index cca3720..1141930 100644
--- a/hw/xen/xen-pvh-common.c
+++ b/hw/xen/xen-pvh-common.c
@@ -443,7 +443,7 @@ do { \
/*
* We provide memmap properties to allow Xen to move things to other
- * addresses for example when users need to accomodate the memory-map
+ * addresses for example when users need to accommodate the memory-map
* for 1:1 mapped devices/memory.
*/
OC_MEMMAP_PROP(oc, "ram-low", ram_low);
diff --git a/include/migration/register.h b/include/migration/register.h
index 5e5e0ee..257ecfc 100644
--- a/include/migration/register.h
+++ b/include/migration/register.h
@@ -205,7 +205,7 @@ typedef struct SaveVMHandlers {
* @opaque: Data pointer passed to register_savevm_live()
* @errp: Error** used to report error message
*
- * Returns: true if succeeded, false if error occured. When false is
+ * Returns: true if succeeded, false if error occurred. When false is
* returned, @errp must be set.
*/
bool (*save_postcopy_prepare)(QEMUFile *f, void *opaque, Error **errp);
diff --git a/migration/multifd.c b/migration/multifd.c
index 035cb70..e9c933a 100644
--- a/migration/multifd.c
+++ b/migration/multifd.c
@@ -440,7 +440,7 @@ static void multifd_send_error_propagate(Error *err)
*
* A successful migration also guarantees multifd sender threads are
* properly flushed and halted. It is only safe to send BYE in the
- * migration thread here when we know there's no other thread writting to
+ * migration thread here when we know there's no other thread writing to
* the channel, because GnuTLS doesn't support concurrent writers.
*/
static void migration_ioc_shutdown_gracefully(QIOChannel *ioc)
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 15a13b9..8fb06b8 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -1281,7 +1281,7 @@ typedef struct ARMGranuleProtectionConfig {
* @ss: security state for access
* @fi: fault information in case a fault is detected
*
- * Checks if @paddress can be accessed in physical adress space @pspace
+ * Checks if @paddress can be accessed in physical address space @pspace
* for @ss secure state, following granule protection setup with @config.
* If a fault is detected, @fi is set accordingly.
* See GranuleProtectionCheck() in A-profile manual.
diff --git a/target/arm/tcg/gengvec64.c b/target/arm/tcg/gengvec64.c
index c7bdd1e..20e5953 100644
--- a/target/arm/tcg/gengvec64.c
+++ b/target/arm/tcg/gengvec64.c
@@ -191,7 +191,7 @@ void gen_gvec_bcax(unsigned vece, uint32_t d, uint32_t n, uint32_t m,
/*
* Set @res to the correctly saturated result.
- * Set @qc non-zero if saturation occured.
+ * Set @qc non-zero if saturation occurred.
*/
void gen_suqadd_bhs(TCGv_i64 res, TCGv_i64 qc,
TCGv_i64 a, TCGv_i64 b, MemOp esz)
diff --git a/tests/qtest/pnv-host-i2c-test.c b/tests/qtest/pnv-host-i2c-test.c
index 51e613e..6aa3c72 100644
--- a/tests/qtest/pnv-host-i2c-test.c
+++ b/tests/qtest/pnv-host-i2c-test.c
@@ -100,7 +100,7 @@ static void pnv_i2c_send(PnvI2cDev *dev, const uint8_t *buf, uint16_t len)
I2C_STAT_CMD_COMP);
}
-/* Recieve len bytes into buf from i2c device with given addr and port */
+/* Receive len bytes into buf from i2c device with given addr and port */
static void pnv_i2c_recv(PnvI2cDev *dev, uint8_t *buf, uint16_t len)
{
int byte_num;
--
2.49.0