From: Kefeng Wang <wangkefeng.wang@huawei.com>
To: Philip Li <philip.li@intel.com>
Cc: kernel test robot <lkp@intel.com>,
<oe-kbuild-all@lists.linux.dev>,
Linux Memory Management List <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [linux-next:master 6447/7105] mm/mempolicy.c:2280:15: error: redefinition of 'folio_alloc_mpol_noprof'
Date: Fri, 21 Jun 2024 14:21:39 +0800 [thread overview]
Message-ID: <6e5844cc-827d-4799-9965-959e631bef40@huawei.com> (raw)
In-Reply-To: <ZnUH4B6MlKEKDM0A@rli9-mobl>
On 2024/6/21 12:56, Philip Li wrote:
> On Fri, Jun 21, 2024 at 11:17:05AM +0800, Kefeng Wang wrote:
>>
>>
>> On 2024/6/20 23:55, kernel test robot wrote:
>>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
>>> head: 2102cb0d050d34d50b9642a3a50861787527e922
>>> commit: f85385e70cb4bbb569298830fdf0a3d8325de36d [6447/7105] mm: add folio_alloc_mpol()
>>> config: x86_64-randconfig-014-20240202 (https://download.01.org/0day-ci/archive/20240620/202406202319.pBcCfVar-lkp@intel.com/config)
>>> compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
>>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406202319.pBcCfVar-lkp@intel.com/reproduce)
>>
>> Hi, thanks for report, I try with gcc-13 from 0day[1], but can't
>> reproduce with above config.
>>
>> [1] https://download.01.org/0day-ci/cross-package/gcc-13.2.0-nolibc
>>
...
>> The above error is strange, my change shouldn't affect them.
>
> Hi Kefeng, sorry for confusion, usually you only need take care of the issue
> that is prefixed with >>, which is the new issue being introduced by the commit.
> Other issues exist due to existing commits.
>
>>
>>> | ^~~~
>>> mm/mempolicy.c: At top level:
>>> mm/mempolicy.c:2221:14: error: redefinition of 'alloc_pages_mpol_noprof'
>>> 2221 | struct page *alloc_pages_mpol_noprof(gfp_t gfp, unsigned int order,
>
> [...]
>
>>> | ^~~~~~~~~~~~~~~~~~~~~~~
>>> | __count_vm_event
>>> mm/mempolicy.c:2272:61: error: 'NUMA_INTERLEAVE_HIT' undeclared (first use in this function)
>>> 2272 | __count_numa_event(page_zone(page), NUMA_INTERLEAVE_HIT);
>>> | ^~~~~~~~~~~~~~~~~~~
>>> mm/mempolicy.c: At top level:
>>>>> mm/mempolicy.c:2280:15: error: redefinition of 'folio_alloc_mpol_noprof'
>>> 2280 | struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order,
>
> For this report, you can check whether this issue can be reproduced or not.
mm/mempolicy.c:2280:15: error: redefinition of folio_alloc_mpol_noprof'
obj-$(CONFIG_NUMA) += mempolicy.o
include/linux/gfp.h:324:29: note: previous definition of
'folio_alloc_mpol_noprof'
but this one is under !CONFIG_NUMA, and from above config, CONFIG_NUMA
is enabled, so this should be impossible.
next prev parent reply other threads:[~2024-06-21 6:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-20 15:55 kernel test robot
2024-06-21 3:17 ` Kefeng Wang
2024-06-21 4:56 ` Philip Li
2024-06-21 6:21 ` Kefeng Wang [this message]
2024-06-21 8:08 ` Philip Li
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=6e5844cc-827d-4799-9965-959e631bef40@huawei.com \
--to=wangkefeng.wang@huawei.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=philip.li@intel.com \
/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