Skip to content

Commit 0107865

Browse files
Colin Ian Kingtorvalds
authored andcommitted
mm/damon: fix a few spelling mistakes in comments and a pr_debug message
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]>
1 parent 0f91d13 commit 0107865

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mm/damon/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ static unsigned long damos_wmark_wait_us(struct damos *scheme)
959959
/* higher than high watermark or lower than low watermark */
960960
if (metric > scheme->wmarks.high || scheme->wmarks.low > metric) {
961961
if (scheme->wmarks.activated)
962-
pr_debug("inactivate a scheme (%d) for %s wmark\n",
962+
pr_debug("deactivate a scheme (%d) for %s wmark\n",
963963
scheme->action,
964964
metric > scheme->wmarks.high ?
965965
"high" : "low");

mm/damon/dbgfs-test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ static void damon_dbgfs_test_set_init_regions(struct kunit *test)
145145

146146
KUNIT_EXPECT_STREQ(test, (char *)buf, expect);
147147
}
148-
/* Put invlid inputs and check the return error code */
148+
/* Put invalid inputs and check the return error code */
149149
for (i = 0; i < ARRAY_SIZE(invalid_inputs); i++) {
150150
input = invalid_inputs[i];
151151
pr_info("input: %s\n", input);

mm/damon/vaddr-test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ static void damon_test_apply_three_regions3(struct kunit *test)
233233
* and 70-100) has totally freed and mapped to different area (30-32 and
234234
* 65-68). The target regions which were in the old second and third big
235235
* regions should now be removed and new target regions covering the new second
236-
* and third big regions should be crated.
236+
* and third big regions should be created.
237237
*/
238238
static void damon_test_apply_three_regions4(struct kunit *test)
239239
{

0 commit comments

Comments
 (0)