]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mm/damon/sysfs-schemes: fix wrong comment on damons_sysfs_quota_goal_metric_strs
authorSeongJae Park <sj@kernel.org>
Tue, 13 May 2025 00:27:11 +0000 (17:27 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 22 May 2025 21:55:38 +0000 (14:55 -0700)
A comment on damos_sysfs_quota_goal_metric_strs is simply wrong, due to a
copy-and-paste error.  Fix it.

Link: https://lkml.kernel.org/r/20250513002715.40126-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Brendan Higgins <brendan.higgins@linux.dev>
Cc: David Gow <davidgow@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/sysfs-schemes.c

index c2b8a9cb44ec23fe6d716ecf6adaaa5b5ccffd20..0f6c9e1fec0bfd34e0c78e8d2fdf5af01cfff248 100644 (file)
@@ -940,7 +940,7 @@ struct damos_sysfs_quota_goal {
        int nid;
 };
 
-/* This should match with enum damos_action */
+/* This should match with enum damos_quota_goal_metric */
 static const char * const damos_sysfs_quota_goal_metric_strs[] = {
        "user_input",
        "some_mem_psi_us",