]> git.baikalelectronics.ru Git - kernel.git/commit
mm/damon/vaddr: use pr_debug() for damon_va_three_regions() failure logging
authorSeongJae Park <sj@kernel.org>
Fri, 14 Jan 2022 22:10:44 +0000 (14:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Jan 2022 14:30:33 +0000 (16:30 +0200)
commit3a8496b1ac539614c7c55b8003a5d72f3aa7dd89
tree965286828e6826db5f36cf1f907f21baf68adc4b
parent06eb5b4161718cc434ff35f41ac8279b179eaf60
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/20211229131016.23641-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/damon/vaddr.c