diff options
author | Stefan Weil <sw@weilnetz.de> | 2014-06-13 20:42:57 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-06-24 20:01:24 +0400 |
commit | 5d831be27289c244969cbe6a3b87cbc0b44b1532 (patch) | |
tree | 7760a1ec0069867e5c775836f706296987eb4d6f | |
parent | 10358b6a1cc466a7d6e6d78364c972935634bdb7 (diff) |
Fix new typos (found by codespell)
* accomodate -> accommodate
* aquiring -> acquiring
* beacuse -> because
* loosing -> losing
* prefering -> preferring
* threshhold -> threshold
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | block/iscsi.c | 2 | ||||
-rw-r--r-- | hw/input/hid.c | 2 | ||||
-rw-r--r-- | target-arm/helper.c | 2 | ||||
-rw-r--r-- | tcg/mips/tcg-target.c | 4 | ||||
-rw-r--r-- | tests/qemu-iotests/common.qemu | 2 | ||||
-rw-r--r-- | translate-all.c | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/block/iscsi.c b/block/iscsi.c index 84aa22a62e..f3e83e2332 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -101,7 +101,7 @@ typedef struct IscsiAIOCB { #define ISCSI_CMD_RETRIES ARRAY_SIZE(iscsi_retry_times) static const unsigned iscsi_retry_times[] = {8, 32, 128, 512, 2048}; -/* this threshhold is a trade-off knob to choose between +/* this threshold is a trade-off knob to choose between * the potential additional overhead of an extra GET_LBA_STATUS request * vs. unnecessarily reading a lot of zero sectors over the wire. * If a read request is greater or equal than ISCSI_CHECKALLOC_THRES diff --git a/hw/input/hid.c b/hw/input/hid.c index 295bdab652..9656e90c59 100644 --- a/hw/input/hid.c +++ b/hw/input/hid.c @@ -164,7 +164,7 @@ static void hid_pointer_sync(DeviceState *dev) if (hs->n == QUEUE_LENGTH-1) { /* - * Queue full. We are loosing information, but we at least + * Queue full. We are losing information, but we at least * keep track of most recent button state. */ return; diff --git a/target-arm/helper.c b/target-arm/helper.c index ed4d2bb419..d3438560e6 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -2350,7 +2350,7 @@ void register_cp_regs_for_features(ARMCPU *cpu) { .name = "ID_AA64DFR0_EL1", .state = ARM_CP_STATE_AA64, .opc0 = 3, .opc1 = 0, .crn = 0, .crm = 5, .opc2 = 0, .access = PL1_R, .type = ARM_CP_CONST, - /* We mask out the PMUVer field, beacuse we don't currently + /* We mask out the PMUVer field, because we don't currently * implement the PMU. Not advertising it prevents the guest * from trying to use it and getting UNDEFs on registers we * don't implement. diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c index 8855d5039d..9cce3563a6 100644 --- a/tcg/mips/tcg-target.c +++ b/tcg/mips/tcg-target.c @@ -781,7 +781,7 @@ static void tcg_out_brcond2(TCGContext *s, TCGCond cond, TCGReg al, TCGReg ah, break; default: - /* Minimize code size by prefering a compare not requiring INV. */ + /* Minimize code size by preferring a compare not requiring INV. */ if (mips_cmp_map[cond] & MIPS_CMP_INV) { cond = tcg_invert_cond(cond); b_cond = TCG_COND_EQ; @@ -810,7 +810,7 @@ static void tcg_out_movcond(TCGContext *s, TCGCond cond, TCGReg ret, break; default: - /* Minimize code size by prefering a compare not requiring INV. */ + /* Minimize code size by preferring a compare not requiring INV. */ if (mips_cmp_map[cond] & MIPS_CMP_INV) { cond = tcg_invert_cond(cond); m_opc = OPC_MOVZ; diff --git a/tests/qemu-iotests/common.qemu b/tests/qemu-iotests/common.qemu index 918af3102c..ee7ebb4c1d 100644 --- a/tests/qemu-iotests/common.qemu +++ b/tests/qemu-iotests/common.qemu @@ -103,7 +103,7 @@ function _send_qemu_cmd() count=${qemu_cmd_repeat} use_error="no" fi - # This array element extraction is done to accomodate pathnames with spaces + # This array element extraction is done to accommodate pathnames with spaces cmd=${@: 1:${#@}-1} shift $(($# - 1)) diff --git a/translate-all.c b/translate-all.c index 5425d038d9..8f7e11b0a5 100644 --- a/translate-all.c +++ b/translate-all.c @@ -594,7 +594,7 @@ static inline void *alloc_code_gen_buffer(void) #ifdef __mips__ if (cross_256mb(buf, tcg_ctx.code_gen_buffer_size)) { - /* Try again, with the original still mapped, to avoid re-aquiring + /* Try again, with the original still mapped, to avoid re-acquiring that 256mb crossing. This time don't specify an address. */ size_t size2, size1 = tcg_ctx.code_gen_buffer_size; void *buf2 = mmap(NULL, size1, PROT_WRITE | PROT_READ | PROT_EXEC, |