From: SeongJae Park Date: Fri, 10 Feb 2023 04:48:38 +0000 (+0000) Subject: mm-damon-dbgfs-print-damon-debugfs-interface-deprecation-message-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3ad233051cf9ad95522689415d621929b15057db;p=users%2Fjedix%2Flinux-maple.git mm-damon-dbgfs-print-damon-debugfs-interface-deprecation-message-fix split DAMON debugfs file open warning message, per Randy Link: https://lkml.kernel.org/r/20230209192009.7885-4-sj@kernel.org Link: https://lkml.kernel.org/r/20230210044838.63723-4-sj@kernel.org Signed-off-by: SeongJae Park Cc: Jonathan Corbet Cc: Randy Dunlap Signed-off-by: Andrew Morton --- diff --git a/mm/damon/dbgfs.c b/mm/damon/dbgfs.c index e551a20b35e3..124f0f8c97b7 100644 --- a/mm/damon/dbgfs.c +++ b/mm/damon/dbgfs.c @@ -22,7 +22,10 @@ static DEFINE_MUTEX(damon_dbgfs_lock); static void damon_dbgfs_warn_deprecation(void) { - pr_warn_once("DAMON debugfs interface is deprecated, so users should move to the sysfs interface (DAMON_SYSFS). If you depend on this and cannot move, please report your usecase to damon@lists.linux.dev and linux-mm@kvack.org.\n"); + pr_warn_once("DAMON debugfs interface is deprecated, " + "so users should move to DAMON_SYSFS. If you cannot, " + "please report your usecase to damon@lists.linux.dev and " + "linux-mm@kvack.org.\n"); } /*