From: Nathan Chancellor <nathan@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: kernel test robot <lkp@intel.com>,
Rohan McLure <rmclure@linux.ibm.com>,
llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Andrew Donnellan <ajd@linux.ibm.com>,
Pasha Tatashin <pasha.tatashin@soleen.com>
Subject: Re: [akpm-mm:mm-new 216/233] arch/riscv/include/asm/pgtable.h:951:36: error: too few arguments to function call, expected 3, have 2
Date: Mon, 25 Aug 2025 13:07:15 -0700 [thread overview]
Message-ID: <20250825200715.GA598466@ax162> (raw)
In-Reply-To: <20250822150906.7a6a87a7a8ad69f2ad67c817@linux-foundation.org>
On Fri, Aug 22, 2025 at 03:09:06PM -0700, Andrew Morton wrote:
> On Sat, 23 Aug 2025 05:30:45 +0800 kernel test robot <lkp@intel.com> wrote:
>
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
> > head: a8af4c2fd982fd94fffde3c5b6b764fd20af68fe
> > commit: e009b0f3187482a5756ff3b015cf30277cc1cfd9 [216/233] mm/page_table_check: reinstate address parameter in [__]page_table_check_pud_clear()
>
> > config: riscv-randconfig-001-20250823 (https://download.01.org/0day-ci/archive/20250823/202508230551.qiEQu04P-lkp@intel.com/config)
> > compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d26ea02060b1c9db751d188b2edb0059a9eb273d)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250823/202508230551.qiEQu04P-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/202508230551.qiEQu04P-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > In file included from arch/riscv/kernel/asm-offsets.c:8:
> > In file included from include/linux/mm.h:31:
> > In file included from include/linux/pgtable.h:6:
> > >> arch/riscv/include/asm/pgtable.h:951:36: error: too few arguments to function call, expected 3, have 2
> > 951 | page_table_check_pud_clear(mm, pud);
> > | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
>
> Thanks, I added this:
It appears that this fix patch was applied to the wrong patch. The error
is about page_table_check_pud_check().
> --- a/arch/riscv/include/asm/pgtable.h~mm-page_table_check-reinstate-address-parameter-in-page_table_check_pud_set-fix
But this change is about page_table_check_pud_set(), so -next is now
broken in the opposite way
arch/riscv/include/asm/pgtable.h:951:42: error: too many arguments to function call, expected 2, have 3
951 | page_table_check_pud_clear(mm, address, pud);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~
include/linux/page_table_check.h:125:20: note: 'page_table_check_pud_clear' declared here
125 | static inline void page_table_check_pud_clear(struct mm_struct *mm, pud_t pud)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as it does not appear that e009b0f3187482a5756ff3b015cf30277cc1cfd9
is there.
> +++ a/arch/riscv/include/asm/pgtable.h
> @@ -948,7 +948,7 @@ static inline pud_t pudp_huge_get_and_cl
> {
> pud_t pud = __pud(atomic_long_xchg((atomic_long_t *)pudp, 0));
>
> - page_table_check_pud_clear(mm, pud);
> + page_table_check_pud_clear(mm, address, pud);
>
> return pud;
> }
> _
>
>
next prev parent reply other threads:[~2025-08-25 20:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-22 21:30 [akpm-mm:mm-new 216/233] arch/riscv/include/asm/pgtable.h:951:36: error: too few arguments to function call, expected 3, have 2 kernel test robot
2025-08-22 22:09 ` Andrew Morton
2025-08-25 20:07 ` Nathan Chancellor [this message]
2025-08-25 22:38 ` Andrew Morton
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=20250825200715.GA598466@ax162 \
--to=nathan@kernel.org \
--cc=ajd@linux.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pasha.tatashin@soleen.com \
--cc=rmclure@linux.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.