From: kernel test robot <lkp@intel.com>
To: Zenghui Yu <zenghui.yu@linux.dev>,
damon@lists.linux.dev, linux-mm@kvack.org,
linux-kernel@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, sj@kernel.org,
akpm@linux-foundation.org,
"Zenghui Yu (Huawei)" <zenghui.yu@linux.dev>
Subject: Re: [PATCH] mm/damon/core: remove declaration of kdamond_fn()
Date: Fri, 28 Aug 2026 08:54:51 +0800 [thread overview]
Message-ID: <202608280848.9o0Z64CP-lkp@intel.com> (raw)
In-Reply-To: <20260827163953.83520-1-zenghui.yu@linux.dev>
Hi Zenghui,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
url: https://github.com/intel-lab-lkp/linux/commits/Zenghui-Yu/mm-damon-core-remove-declaration-of-kdamond_fn/20260828-003953
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20260827163953.83520-1-zenghui.yu%40linux.dev
patch subject: [PATCH] mm/damon/core: remove declaration of kdamond_fn()
config: hexagon-randconfig-r052-20260828 (https://download.01.org/0day-ci/archive/20260828/202608280848.9o0Z64CP-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260828/202608280848.9o0Z64CP-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608280848.9o0Z64CP-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/damon/core.c:1941:30: error: use of undeclared identifier 'kdamond_fn'
1941 | ctx->kdamond = kthread_run(kdamond_fn, ctx, "kdamond.%d",
| ^
1 error generated.
vim +/kdamond_fn +1941 mm/damon/core.c
b1029f29eb1d5fb SJ Park 2026-02-28 1924
2224d8485492e49 SeongJae Park 2021-09-07 1925 /*
2224d8485492e49 SeongJae Park 2021-09-07 1926 * __damon_start() - Starts monitoring with given context.
2224d8485492e49 SeongJae Park 2021-09-07 1927 * @ctx: monitoring context
2224d8485492e49 SeongJae Park 2021-09-07 1928 *
2224d8485492e49 SeongJae Park 2021-09-07 1929 * This function should be called while damon_lock is hold.
2224d8485492e49 SeongJae Park 2021-09-07 1930 *
2224d8485492e49 SeongJae Park 2021-09-07 1931 * Return: 0 on success, negative error code otherwise.
2224d8485492e49 SeongJae Park 2021-09-07 1932 */
2224d8485492e49 SeongJae Park 2021-09-07 1933 static int __damon_start(struct damon_ctx *ctx)
2224d8485492e49 SeongJae Park 2021-09-07 1934 {
2224d8485492e49 SeongJae Park 2021-09-07 1935 int err = -EBUSY;
2224d8485492e49 SeongJae Park 2021-09-07 1936
2224d8485492e49 SeongJae Park 2021-09-07 1937 mutex_lock(&ctx->kdamond_lock);
2224d8485492e49 SeongJae Park 2021-09-07 1938 if (!ctx->kdamond) {
2224d8485492e49 SeongJae Park 2021-09-07 1939 err = 0;
6376a824595607e SJ Park 2023-12-08 1940 reinit_completion(&ctx->kdamond_started);
2224d8485492e49 SeongJae Park 2021-09-07 @1941 ctx->kdamond = kthread_run(kdamond_fn, ctx, "kdamond.%d",
2224d8485492e49 SeongJae Park 2021-09-07 1942 nr_running_ctxs);
2224d8485492e49 SeongJae Park 2021-09-07 1943 if (IS_ERR(ctx->kdamond)) {
2224d8485492e49 SeongJae Park 2021-09-07 1944 err = PTR_ERR(ctx->kdamond);
7ec1992b891e59d Colin Ian King 2021-11-05 1945 ctx->kdamond = NULL;
6376a824595607e SJ Park 2023-12-08 1946 } else {
6376a824595607e SJ Park 2023-12-08 1947 wait_for_completion(&ctx->kdamond_started);
2224d8485492e49 SeongJae Park 2021-09-07 1948 }
2224d8485492e49 SeongJae Park 2021-09-07 1949 }
2224d8485492e49 SeongJae Park 2021-09-07 1950 mutex_unlock(&ctx->kdamond_lock);
2224d8485492e49 SeongJae Park 2021-09-07 1951
2224d8485492e49 SeongJae Park 2021-09-07 1952 return err;
2224d8485492e49 SeongJae Park 2021-09-07 1953 }
2224d8485492e49 SeongJae Park 2021-09-07 1954
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-08-28 0:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 16:39 [PATCH] mm/damon/core: remove declaration of kdamond_fn() Zenghui Yu
2026-08-27 16:47 ` Zenghui Yu
2026-08-28 1:01 ` SJ Park
2026-08-28 0:54 ` kernel test robot [this message]
2026-08-28 5:33 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202608280848.9o0Z64CP-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=damon@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sj@kernel.org \
--cc=zenghui.yu@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox