Skip to content

Commit 251403f

Browse files
sjp38torvalds
authored andcommitted
mm/damon/vaddr: use pr_debug() for damon_va_three_regions() failure logging
Failure of 'damon_va_three_regions()' is logged using 'pr_err()'. But, the function can fail in legal situations. To avoid making users be surprised and to keep the kernel clean, this makes the log to be printed using 'pr_debug()'. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: SeongJae Park <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 70b8480 commit 251403f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/damon/vaddr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static void __damon_va_init_regions(struct damon_ctx *ctx,
238238
int i;
239239

240240
if (damon_va_three_regions(t, regions)) {
241-
pr_err("Failed to get three regions of target %lu\n", t->id);
241+
pr_debug("Failed to get three regions of target %lu\n", t->id);
242242
return;
243243
}
244244

0 commit comments

Comments
 (0)