Skip to content

Commit

Permalink
ci: fix codespell errors
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Vagin <[email protected]>
  • Loading branch information
avagin committed Nov 30, 2023
1 parent 9d3e71a commit b17a73b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion criu/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -3274,7 +3274,7 @@ int macvlan_ext_add(struct external *ext)
/*
* The setns() syscall (called by switch_ns()) can be extremely
* slow. If we call it two or more times from the same task the
* kernel will synchonously go on a very slow routine called
* kernel will synchronously go on a very slow routine called
* synchronize_rcu() trying to put a reference on old namespaces.
*
* To avoid doing this more than once we pre-create all the
Expand Down
2 changes: 1 addition & 1 deletion criu/pagemap-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static int pmc_fill_cache(pmc_t *pmc, const struct vma_area *vma)
* fit in solid manner, iow -- either the whole vma fits
* the cache window, either plain read is used.
*
* The benefit (apart redusing the number of read() calls)
* The benefit (apart reducing the number of read() calls)
* is to walk page tables less.
*/
if (!pagemap_cache_disabled && len < PMC_SIZE && (vma->e->start - low) < PMC_SIZE_GAP) {
Expand Down
2 changes: 1 addition & 1 deletion lib/pycriu/images/pb2dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def pb2dict(pb, pretty=False, is_hex=False):
def _dict2pb_cast(field, value):
# Not considering TYPE_MESSAGE here, as repeated
# and non-repeated messages need special treatment
# in this case, and are hadled separately.
# in this case, and are handled separately.
if field.type == FD.TYPE_BYTES:
return get_bytes_dec(field)(value)
elif field.type == FD.TYPE_ENUM:
Expand Down
2 changes: 1 addition & 1 deletion plugins/amdgpu/amdgpu_plugin_topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ static bool iolink_match(struct tp_iolink *src, struct tp_iolink *dest)
*
* Nodes compatibility are determined by:
* 1. Comparing the node properties
* 2. Making sure iolink mappings to CPUs would be compabitle with existing iolink mappings in maps
* 2. Making sure iolink mappings to CPUs would be compatible with existing iolink mappings in maps
*
* If src_node and dest_node are mappable, then map_device will push the new mapping
* for src_node -> dest_node into new_maps.
Expand Down
2 changes: 1 addition & 1 deletion scripts/nmk/scripts/main.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ifndef ____nmk_defined__main

#
# Genaral inclusion statement
# General inclusion statement

ifndef ____nmk_defined__include
include $(__nmk_dir)include.mk
Expand Down
2 changes: 1 addition & 1 deletion test/zdtm/static/mntns_open.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define CLONE_NEWNS 0x00020000
#endif

const char *test_doc = "Check that mnt_id is repsected";
const char *test_doc = "Check that mnt_id is respected";
const char *test_author = "Pavel Emelianov <[email protected]>";

#define MPTS_FILE "F"
Expand Down

0 comments on commit b17a73b

Please sign in to comment.