]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm-damon-dbgfs-print-damon-debugfs-interface-deprecation-message-fix
authorSeongJae Park <sj@kernel.org>
Fri, 10 Feb 2023 04:48:38 +0000 (04:48 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 23:36:09 +0000 (15:36 -0800)
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 <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/dbgfs.c

index e551a20b35e3c44caae0bb6aeafcc3de615d7e76..124f0f8c97b755f48a7e88717c5e557925f9c80b 100644 (file)
@@ -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");
 }
 
 /*