UPSTREAM: include/linux/damon.h: fix kernel-doc comments for 'damon_callback'
A few Kernel-doc comments in 'damon.h' are broken. This fixes them. Link: https://lkml.kernel.org/r/20210917123958.3819-5-sj@kernel.org Signed-off-by: SeongJae Park <sjpark@amazon.de> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from commit d2f272b35a84ace2ef04334a9822fd726a7f061b) Bug: 228223814 Signed-off-by: Hailong Tu <tuhailong@oppo.com> Change-Id: Ic57dd7ca6528303cc07f2dca16487820ac100650
This commit is contained in:

committed by
Hailong Tu

parent
8c5ef4d641
commit
6239bbbcea
@@ -62,7 +62,7 @@ struct damon_target {
|
|||||||
struct damon_ctx;
|
struct damon_ctx;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct damon_primitive Monitoring primitives for given use cases.
|
* struct damon_primitive - Monitoring primitives for given use cases.
|
||||||
*
|
*
|
||||||
* @init: Initialize primitive-internal data structures.
|
* @init: Initialize primitive-internal data structures.
|
||||||
* @update: Update primitive-internal data structures.
|
* @update: Update primitive-internal data structures.
|
||||||
@@ -108,8 +108,8 @@ struct damon_primitive {
|
|||||||
void (*cleanup)(struct damon_ctx *context);
|
void (*cleanup)(struct damon_ctx *context);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* struct damon_callback Monitoring events notification callbacks.
|
* struct damon_callback - Monitoring events notification callbacks.
|
||||||
*
|
*
|
||||||
* @before_start: Called before starting the monitoring.
|
* @before_start: Called before starting the monitoring.
|
||||||
* @after_sampling: Called after each sampling.
|
* @after_sampling: Called after each sampling.
|
||||||
|
Reference in New Issue
Block a user