Message ID | 20230210044838.63723-1-sj@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | mm/damon: deprecate DAMON debugfs interface | expand |
On Fri, 10 Feb 2023 04:48:35 +0000 SeongJae Park <sj@kernel.org> wrote: > Changes from v1 > (https://lore.kernel.org/damon/20230209192009.7885-1-sj@kernel.org/) > - Split DAMON debugfs file open warning message (Randy Dunlap) I usually sent this kind of update for after-merged-into-mm-unstable tree patches individusally as fixup, but this time I sent whole patchset as a new version, because I was out of my mind. For someone who may prefer the usual for-fixup individual patch, attaching the version below. Thanks, SJ ================================= 8< ========================================== From: SeongJae Park <sj@kernel.org> Date: Fri, 10 Feb 2023 04:37:19 +0000 Subject: [PATCH mm-unstable] mm/damon/dbgfs: break too long deprecation warning message DAMON debugfs interface deprecation message, which is introduced by commit 234a68e24b12 ("mm/damon/dbgfs: print DAMON debugfs interface deprecation message") of mm-unstable, is too long. Break down into multiple strings for better code readability. Fixes: 234a68e24b12 ("mm/damon/dbgfs: print DAMON debugfs interface deprecation message") # mm-unstable Suggested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: SeongJae Park <sj@kernel.org> --- mm/damon/dbgfs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"); } /* -- 2.25.1