]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mm/damon: add a kernel-doc comment for damon_ctx->probes
authorSJ Park <sj@kernel.org>
Sun, 28 Jun 2026 22:08:03 +0000 (15:08 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 2 Jul 2026 02:02:55 +0000 (19:02 -0700)
The two fields of damon_ctx struct dont have their kernel-doc comments.
That causes kernel document builds to warn.  Fix those.

This patch (of 2):

Fix below document build warning:

    WARNING: ../include/linux/damon.h:909 struct member 'probes' not described in 'damon_ctx'

Link: https://lore.kernel.org/20260628220808.98931-1-sj@kernel.org
Link: https://lore.kernel.org/20260628220808.98931-2-sj@kernel.org
Fixes: 18c777859f28 ("mm/damon/core: embed damon_probe objects in damon_ctx")
Signed-off-by: SJ Park <sj@kernel.org>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Closes: https://lore.kernel.org/4df95955-b255-4e5a-90c4-35db02f3111f@infradead.org
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/damon.h

index 888570f55b4167e2e82cdeb11540c8fa156b7b05..fdac40cd55d4eab06c0b1791369d95a820ce4a01 100644 (file)
@@ -843,6 +843,7 @@ struct damon_attrs {
  * including damon_call() and damos_walk().
  *
  * @ops:       Set of monitoring operations for given use cases.
+ * @probes:    Head of probes (&damon_probe) list.
  * @addr_unit: Scale factor for core to ops address conversion.
  * @min_region_sz:     Minimum region size.
  * @pause:     Pause kdamond main loop.