linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Philip Li <philip.li@intel.com>
To: SeongJae Park <sj@kernel.org>
Cc: kernel test robot <lkp@intel.com>,
	<oe-kbuild-all@lists.linux.dev>, <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: mm/damon/reclaim.c:252:15: error: implicit declaration of function 'damon_commit_ctx'
Date: Thu, 3 Oct 2024 23:25:58 +0800	[thread overview]
Message-ID: <Zv63hjE1oT2A4tET@rli9-mobl> (raw)
In-Reply-To: <20241001221712.88016-1-sj@kernel.org>

On Tue, Oct 01, 2024 at 03:17:12PM -0700, SeongJae Park wrote:
> From: sj@kernel.org
> 
> 
> Hi Robot,
> 
> On Wed, 2 Oct 2024 02:09:06 +0800 kernel test robot <lkp@intel.com> wrote:
> 
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   e32cde8d2bd7d251a8f9b434143977ddf13dcec6
> > commit: 11ddcfc257a3e8d7b13b42148ee7e783f4876da4 mm/damon/reclaim: use damon_commit_ctx()
> > date:   3 months ago
> > config: x86_64-randconfig-001-20231120 (https://download.01.org/0day-ci/archive/20241002/202410020227.oOh0SBIj-lkp@intel.com/config)
> > compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241002/202410020227.oOh0SBIj-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/202410020227.oOh0SBIj-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> [...]
>     mm/damon/reclaim.c:247:15: error: implicit declaration of function 'damon_set_region_biggest_system_ram_default' [-Werror=implicit-function-declaration]
> >      247 |         err = damon_set_region_biggest_system_ram_default(param_target,
> >          |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > >> mm/damon/reclaim.c:252:15: error: implicit declaration of function 'damon_commit_ctx' [-Werror=implicit-function-declaration]
> >      252 |         err = damon_commit_ctx(ctx, param_ctx);
> >          |               ^~~~~~~~~~~~~~~~
> > >> mm/damon/reclaim.c:254:9: error: implicit declaration of function 'damon_destroy_ctx'; did you mean 'mm_destroy_cid'? [-Werror=implicit-function-declaration]
> >      254 |         damon_destroy_ctx(param_ctx);
> >          |         ^~~~~~~~~~~~~~~~~
> >          |         mm_destroy_cid
> >    mm/damon/reclaim.c: In function 'damon_reclaim_turn':
> >    mm/damon/reclaim.c:263:23: error: implicit declaration of function 'damon_stop' [-Werror=implicit-function-declaration]
> >      263 |                 err = damon_stop(&ctx, 1);
> >          |                       ^~~~~~~~~~
> >    mm/damon/reclaim.c:273:15: error: implicit declaration of function 'damon_start' [-Werror=implicit-function-declaration]
> >      273 |         err = damon_start(&ctx, 1, true);
> >          |               ^~~~~~~~~~~
> >    cc1: some warnings being treated as errors
> 
> Thank you for reporting.  I tried to reproduce the issue following the kind
> reproducer, but I was unable to get the error.  Maybe something in testing
> setup is wrong?  Please let me know if I'm missing something.

Sorry SJ about the false report, kindly ignore this. The bot side will look
into the detail to resolve the issue asap.

> 
>     $ make W=1 O=../linux.out.kbuild/ ARCH=x86_64 SHELL=/bin/bash drivers/iio/accel/ drivers/iio/chemical/ drivers/iio/dac/ drivers/input/touchscreen/ drivers/mfd/ drivers/usb/host/ mm/damon/
>     [...]
>       CC      mm/damon/sysfs.o
>       CC      mm/damon/modules-common.o
>       CC      mm/damon/reclaim.o
>       CC      mm/damon/lru_sort.o
>       AR      mm/damon/built-in.a
>     [...]
> 
> 
> Thanks,
> SJ
> 
> [...]
> 


      reply	other threads:[~2024-10-03 15:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-01 18:09 kernel test robot
2024-10-01 22:17 ` SeongJae Park
2024-10-03 15:25   ` Philip Li [this message]

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=Zv63hjE1oT2A4tET@rli9-mobl \
    --to=philip.li@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sj@kernel.org \
    /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