]> git.baikalelectronics.ru Git - kernel.git/commit
mm/damon/dbgfs: remove an unnecessary error message
authorSeongJae Park <sj@kernel.org>
Fri, 10 Dec 2021 22:46:31 +0000 (14:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 11 Dec 2021 01:10:55 +0000 (17:10 -0800)
commit61df49534e1c45d6ffa8628d09762ce23ec1bdaf
treed6e51e0bd11fa78cf463bf709895c2eee24328de
parent13a7ba67cfd226cf38a5c70c2ebadb38fdb59f46
mm/damon/dbgfs: remove an unnecessary error message

When wrong scheme action is requested via the debugfs interface, DAMON
prints an error message.  Because the function returns error code, this
is not really needed.  Because the code path is triggered by the user
specified input, this can result in kernel log mistakenly being messy.
To avoid the case, this commit removes the message.

Link: https://lkml.kernel.org/r/20211201150440.1088-3-sj@kernel.org
Fixes: 6b3d98e1842a ("mm/damon/dbgfs: support DAMON-based Operation Schemes")
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Brendan Higgins <brendanhiggins@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/damon/dbgfs.c