[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20211025064725.14071-1-sj@kernel.org>
Date: Mon, 25 Oct 2021 06:47:25 +0000
From: SeongJae Park <sj@...nel.org>
To: kernel test robot <lkp@...el.com>
Cc: SeongJae Park <sj@...nel.org>, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Johannes Weiner <hannes@...xchg.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>
Subject: Re: [hnaz-mm:master 251/366] mm/damon/paddr.c:216:5: error: no previous prototype for 'damon_pa_apply_scheme'
On Mon, 25 Oct 2021 00:07:32 +0800 kernel test robot <lkp@...el.com> wrote:
> [-- Attachment #1: Type: text/plain, Size: 2384 bytes --]
>
> tree: https://github.com/hnaz/linux-mm master
> head: 468edaa91589af9aebd54b32f019bf309cf67e78
> commit: ccd554f15bb1cd977d740c1ea8241ecf95108c94 [251/366] mm/damon/paddr: support the pageout scheme
> config: arc-allyesconfig (attached as .config)
> compiler: arceb-elf-gcc (GCC) 11.2.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://github.com/hnaz/linux-mm/commit/ccd554f15bb1cd977d740c1ea8241ecf95108c94
> git remote add hnaz-mm https://github.com/hnaz/linux-mm
> git fetch --no-tags hnaz-mm master
> git checkout ccd554f15bb1cd977d740c1ea8241ecf95108c94
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
> >> mm/damon/paddr.c:216:5: error: no previous prototype for 'damon_pa_apply_scheme' [-Werror=missing-prototypes]
> 216 | int damon_pa_apply_scheme(struct damon_ctx *ctx, struct damon_target *t,
> | ^~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
Thank you for this report! I sent a fix:
https://lore.kernel.org/linux-mm/20211025064220.13904-1-sj@kernel.org/
Thanks,
SJ
[...]
Powered by blists - more mailing lists