diff options
author | SeongJae Park <[email protected]> | 2021-12-10 14:46:37 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-12-10 17:10:56 -0800 |
commit | 09e12289cc044afa484e70c0b379d579d52caf9a (patch) | |
tree | 9a45455265e5593955de55b02191d36941192bdc | |
parent | 1afaf5cb687de85c5e00ac70f6eea5597077cbc5 (diff) |
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: 6dea8add4d28 ("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]>
-rw-r--r-- | mm/damon/vaddr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/damon/vaddr.c b/mm/damon/vaddr.c index 47f47f60440e..20a9a9d69eb1 100644 --- a/mm/damon/vaddr.c +++ b/mm/damon/vaddr.c @@ -627,7 +627,6 @@ int damon_va_apply_scheme(struct damon_ctx *ctx, struct damon_target *t, case DAMOS_STAT: return 0; default: - pr_warn("Wrong action %d\n", scheme->action); return -EINVAL; } |