Skip to content

Commit 09e1228

Browse files
sjp38torvalds
authored andcommitted
mm/damon/vaddr: remove an unnecessary warning message
The DAMON virtual address space monitoring primitive prints a warning message for wrong DAMOS action. However, it is not essential as the code returns appropriate failure in the case. This commit removes the message to make the log clean. Link: https://lkml.kernel.org/r/[email protected] Fixes: 6dea8ad ("mm/damon/vaddr: support DAMON-based Operation Schemes") Signed-off-by: SeongJae Park <[email protected]> Reviewed-by: Muchun Song <[email protected]> Cc: Brendan Higgins <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 1afaf5c commit 09e1228

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mm/damon/vaddr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,6 @@ int damon_va_apply_scheme(struct damon_ctx *ctx, struct damon_target *t,
627627
case DAMOS_STAT:
628628
return 0;
629629
default:
630-
pr_warn("Wrong action %d\n", scheme->action);
631630
return -EINVAL;
632631
}
633632

0 commit comments

Comments
 (0)