diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2022-03-31 04:45:16 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2022-04-29 03:53:52 +0300 |
commit | 0194ed392ffe4e936dca031fbecafa417d218eec (patch) | |
tree | 20f2af19767720a9576d469cb572bc6cdd9f4451 /compel | |
parent | 3f180047783486c003609328af584b060d3c545c (diff) |
Fix some codespell warnings
Brought to you by
codespell -w
(using codespell v2.1.0).
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'compel')
-rw-r--r-- | compel/arch/x86/src/lib/cpu.c | 2 | ||||
-rw-r--r-- | compel/arch/x86/src/lib/include/uapi/asm/fpu.h | 2 | ||||
-rw-r--r-- | compel/arch/x86/src/lib/infect.c | 2 | ||||
-rw-r--r-- | compel/include/uapi/infect.h | 2 | ||||
-rw-r--r-- | compel/src/lib/handle-elf.c | 2 | ||||
-rw-r--r-- | compel/src/lib/infect.c | 8 |
6 files changed, 9 insertions, 9 deletions
diff --git a/compel/arch/x86/src/lib/cpu.c b/compel/arch/x86/src/lib/cpu.c index 5ca794ea0..f57fb3152 100644 --- a/compel/arch/x86/src/lib/cpu.c +++ b/compel/arch/x86/src/lib/cpu.c @@ -140,7 +140,7 @@ static int compel_fpuid(compel_cpuinfo_t *c) memset(c->xstate_comp_offsets, 0xff, sizeof(c->xstate_comp_offsets)); memset(c->xstate_comp_sizes, 0xff, sizeof(c->xstate_comp_sizes)); - /* start at the beginnning of the "extended state" */ + /* start at the beginning of the "extended state" */ last_good_offset = offsetof(struct xsave_struct, extended_state_area); /* diff --git a/compel/arch/x86/src/lib/include/uapi/asm/fpu.h b/compel/arch/x86/src/lib/include/uapi/asm/fpu.h index c8ebda097..bd3b0cbd5 100644 --- a/compel/arch/x86/src/lib/include/uapi/asm/fpu.h +++ b/compel/arch/x86/src/lib/include/uapi/asm/fpu.h @@ -269,7 +269,7 @@ struct xsave_struct_ia32 { typedef struct { /* - * The FPU xsave area must be continious and FP_MIN_ALIGN_BYTES + * The FPU xsave area must be continuous and FP_MIN_ALIGN_BYTES * aligned, thus make sure the compiler won't insert any hole here. */ diff --git a/compel/arch/x86/src/lib/infect.c b/compel/arch/x86/src/lib/infect.c index 0d3e9e9a0..d7865796e 100644 --- a/compel/arch/x86/src/lib/infect.c +++ b/compel/arch/x86/src/lib/infect.c @@ -360,7 +360,7 @@ int compel_get_task_regs(pid_t pid, user_regs_struct_t *regs, user_fpregs_struct /* * FPU fetched either via fxsave or via xsave, - * thus decode it accrodingly. + * thus decode it accordingly. */ pr_info("Dumping GP/FPU registers for %d\n", pid); diff --git a/compel/include/uapi/infect.h b/compel/include/uapi/infect.h index 7fa0bd8a0..1e1fa66a3 100644 --- a/compel/include/uapi/infect.h +++ b/compel/include/uapi/infect.h @@ -108,7 +108,7 @@ struct infect_ctx { unsigned long syscall_ip; /* entry point of infection */ unsigned long flags; /* fine-tune (e.g. faults) */ - void (*child_handler)(int, siginfo_t *, void *); /* hander for SIGCHLD deaths */ + void (*child_handler)(int, siginfo_t *, void *); /* handler for SIGCHLD deaths */ struct sigaction orig_handler; open_proc_fn open_proc; diff --git a/compel/src/lib/handle-elf.c b/compel/src/lib/handle-elf.c index 22c8f2978..e4b8728ce 100644 --- a/compel/src/lib/handle-elf.c +++ b/compel/src/lib/handle-elf.c @@ -614,7 +614,7 @@ int __handle_elf(void *mem, size_t size) #ifdef ELF_S390 /* * See also arch/s390/kernel/module.c/apply_rela(): - * A PLT reads the GOT (global offest table). We can handle it like + * A PLT reads the GOT (global offset table). We can handle it like * R_390_PC32DBL because we have linked statically. */ case R_390_PLT32DBL: /* PC relative on a PLT (predure link table) */ diff --git a/compel/src/lib/infect.c b/compel/src/lib/infect.c index 78e4d7e0e..9552a7186 100644 --- a/compel/src/lib/infect.c +++ b/compel/src/lib/infect.c @@ -456,8 +456,8 @@ static int parasite_run(pid_t pid, int cmd, unsigned long ip, void *stack, user_ ksigfillset(&block); /* - * FIXME(issues/1429): SIGTRAP can't be blocked, otherwice its hanlder - * will be reseted to the default one. + * FIXME(issues/1429): SIGTRAP can't be blocked, otherwise its handler + * will be reset to the default one. */ ksigdelset(&block, SIGTRAP); if (ptrace(PTRACE_SETSIGMASK, pid, sizeof(k_rtsigset_t), &block)) { @@ -956,7 +956,7 @@ int compel_infect(struct parasite_ctl *ctl, unsigned long nr_threads, unsigned l ctl->args_size = args_size; parasite_size += ctl->args_size; - /* RESTORE_STACK_SIGFRAME needs a 64 bytes alignement */ + /* RESTORE_STACK_SIGFRAME needs a 64 bytes alignment */ parasite_size = round_up(parasite_size, 64); map_exchange_size = parasite_size; @@ -1476,7 +1476,7 @@ int compel_run_in_thread(struct parasite_thread_ctl *tctl, unsigned int cmd) /* * compel_unmap() is used for unmapping parasite and restorer blobs. - * A blob can contain code for unmapping itself, so the porcess is + * A blob can contain code for unmapping itself, so the process is * trapped on the exit from the munmap syscall. */ int compel_unmap(struct parasite_ctl *ctl, unsigned long addr) |