mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 01:08:13 -04:00
mm/damon: add a kernel-doc comment for damon_ctx->probes
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: 18c777859f ("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>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user