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 /include/common | |
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 'include/common')
-rw-r--r-- | include/common/arch/ppc64/asm/linkage.h | 2 | ||||
-rw-r--r-- | include/common/lock.h | 2 | ||||
-rw-r--r-- | include/common/scm-code.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/common/arch/ppc64/asm/linkage.h b/include/common/arch/ppc64/asm/linkage.h index 8e388c105..983f10071 100644 --- a/include/common/arch/ppc64/asm/linkage.h +++ b/include/common/arch/ppc64/asm/linkage.h @@ -43,7 +43,7 @@ * * The lower case r0-r31 should be used in preference to the upper * case R0-R31 as they provide more error checking in the assembler. - * Use R0-31 only when really nessesary. + * Use R0-31 only when really necessary. */ /* clang-format off */ diff --git a/include/common/lock.h b/include/common/lock.h index 4fbe42c63..ccfa468b8 100644 --- a/include/common/lock.h +++ b/include/common/lock.h @@ -9,7 +9,7 @@ #include "common/asm/atomic.h" #include "common/compiler.h" -/* scan-build complains about derefencing a NULL pointer here. */ +/* scan-build complains about dereferencing a NULL pointer here. */ #ifndef __clang_analyzer__ #define LOCK_BUG_ON(condition) \ if ((condition)) \ diff --git a/include/common/scm-code.c b/include/common/scm-code.c index d7d732587..de581846b 100644 --- a/include/common/scm-code.c +++ b/include/common/scm-code.c @@ -96,7 +96,7 @@ int __recv_fds(int sock, int *fds, int nr_fds, void *data, unsigned ch_size, int min_fd = (cmsg->cmsg_len - sizeof(struct cmsghdr)) / sizeof(int); /* * In case if kernel screwed the recipient, most probably - * the caller stack frame will be overwriten, just scream + * the caller stack frame will be overwritten, just scream * and exit. * * FIXME Need to sanitize util.h to be able to include it |