summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSJ Park <sj@kernel.org>2026-07-06 07:06:22 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-08-04 19:18:31 -0700
commita4d91b8254a95f64bbdd20891f128d993f2dbc2f (patch)
treebb2b5e024a5f353b90dc26efcbf5c52bfd01f410 /include
parentc8518b971312182930ea8f06818df7a8a7145b51 (diff)
mm/damon/core: change damon_stop() return type to void
damon_stop() always returns 0, and nobody cares. Change the return type to void. Link: https://lore.kernel.org/20260706140628.87414-8-sj@kernel.org Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/damon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/damon.h b/include/linux/damon.h
index 2661231c0ae8..19b7e839bde0 100644
--- a/include/linux/damon.h
+++ b/include/linux/damon.h
@@ -1070,7 +1070,7 @@ static inline unsigned int damon_max_nr_accesses(const struct damon_attrs *attrs
bool damon_initialized(void);
int damon_start(struct damon_ctx **ctxs, int nr_ctxs, bool exclusive);
-int damon_stop(struct damon_ctx **ctxs, int nr_ctxs);
+void damon_stop(struct damon_ctx **ctxs, int nr_ctxs);
bool damon_is_running(struct damon_ctx *ctx);
int damon_kdamond_pid(struct damon_ctx *ctx);