Skip to content

Commit

Permalink
mm/damon: fix a few spelling mistakes in comments and a pr_debug message
Browse files Browse the repository at this point in the history
There are a few spelling mistakes in the code.  Fix these.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: SeongJae Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Colin Ian King authored and torvalds committed Nov 6, 2021
1 parent 0f91d13 commit 0107865
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mm/damon/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ static unsigned long damos_wmark_wait_us(struct damos *scheme)
/* higher than high watermark or lower than low watermark */
if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) {
if (scheme->wmarks.activated)
pr_debug("inactivate a scheme (%d) for %s wmark\n",
pr_debug("deactivate a scheme (%d) for %s wmark\n",
scheme->action,
metric > scheme->wmarks.high ?
"high" : "low");
Expand Down
2 changes: 1 addition & 1 deletion mm/damon/dbgfs-test.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static void damon_dbgfs_test_set_init_regions(struct kunit *test)

KUNIT_EXPECT_STREQ(test, (char *)buf, expect);
}
/* Put invlid inputs and check the return error code */
/* Put invalid inputs and check the return error code */
for (i = 0; i < ARRAY_SIZE(invalid_inputs); i++) {
input = invalid_inputs[i];
pr_info("input: %s\n", input);
Expand Down
2 changes: 1 addition & 1 deletion mm/damon/vaddr-test.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ static void damon_test_apply_three_regions3(struct kunit *test)
* and 70-100) has totally freed and mapped to different area (30-32 and
* 65-68). The target regions which were in the old second and third big
* regions should now be removed and new target regions covering the new second
* and third big regions should be crated.
* and third big regions should be created.
*/
static void damon_test_apply_three_regions4(struct kunit *test)
{
Expand Down

0 comments on commit 0107865

Please sign in to comment.