treewide: fix typos in source comments
PATCH 1/1 treewide: fix typos in source comments
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 <[email protected]>
--- 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(-)
hw/display/dm163.c +1 -1
@@ -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;
hw/net/npcm_gmac.c +1 -1
@@ -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 */
hw/xen/xen-pvh-common.c +1 -1
@@ -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);
include/migration/register.h +1 -1
@@ -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);
migration/multifd.c +1 -1
@@ -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)
target/arm/cpu.h +1 -1
@@ -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.
target/arm/tcg/gengvec64.c +1 -1
@@ -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)
tests/qtest/pnv-host-i2c-test.c +1 -1
@@ -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;
Signature · 1 line
2.49.0