[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYs2Wp33dq0jeuWqU+67z3VzP2LyHBXSD+SecqqG2OiJfw@mail.gmail.com>
Date: Tue, 26 Aug 2025 11:50:50 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: linux-riscv <linux-riscv@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>, linux-mm <linux-mm@...ck.org>,
lkft-triage@...ts.linaro.org, Linux Regressions <regressions@...ts.linux.dev>
Cc: Dan Carpenter <dan.carpenter@...aro.org>, Arnd Bergmann <arnd@...db.de>,
Anders Roxell <anders.roxell@...aro.org>, Ben Copeland <benjamin.copeland@...aro.org>
Subject: next-20250825: riscv: pgtable.h:951:40: error: incompatible type for
argument 2 of 'page_table_check_pud_clear'
The following build warnings / errors are noticed with riscv defconfig with
clang-20 and gcc-13 toolchains.
Regression Analysis:
- New regression? yes
- Reproducibility? yes
Build regression: next-20250825 riscv pgtable.h:951:40: error:
incompatible type for argument 2 of 'page_table_check_pud_clear'
Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
riscv:
build:
* gcc-13-lkftconfig-rcutorture
* gcc-13-lkftconfig
* gcc-13-allyesconfig
* clang-20-lkftconfig
* gcc-13-lkftconfig-libgpiod
## Build log
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:31,
from arch/riscv/kernel/asm-offsets.c:8:
arch/riscv/include/asm/pgtable.h: In function 'pudp_huge_get_and_clear':
arch/riscv/include/asm/pgtable.h:951:40: error: incompatible type for
argument 2 of 'page_table_check_pud_clear'
951 | page_table_check_pud_clear(mm, address, pud);
| ^~~~~~~
| |
| long unsigned int
In file included from arch/riscv/include/asm/pgtable.h:139:
include/linux/page_table_check.h:125:75: note: expected 'pud_t' but
argument is of type 'long unsigned int'
125 | static inline void page_table_check_pud_clear(struct mm_struct
*mm, pud_t pud)
|
~~~~~~^~~
arch/riscv/include/asm/pgtable.h:951:9: error: too many arguments to
function 'page_table_check_pud_clear'
951 | page_table_check_pud_clear(mm, address, pud);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/page_table_check.h:125:20: note: declared here
125 | static inline void page_table_check_pud_clear(struct mm_struct
*mm, pud_t pud)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:182:
arch/riscv/kernel/asm-offsets.s] Error 1
## Source
* Kernel version: 6.17.0-rc3-next-20250825
* Git tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git
* Git describe: next-20250825
* Git commit: 6c68f4c0a147c025ae0b25fab688c7c47964a02f
* Architectures: riscv
* Toolchains: clang-20 gcc-12
* Kconfigs: defconfig+lkftconfig
## Build
* Build log: https://qa-reports.linaro.org/api/testruns/29652465/log_file/
* Build details:
https://regressions.linaro.org/lkft/linux-next-master/next-20250825/build/gcc-13-lkftconfig/
* Build error details:
https://regressions.linaro.org/lkft/linux-next-master/next-20250825/log-parser-build-gcc/gcc-compiler-arch_riscv_include_asm_pgtable_h-error-too-many-arguments-to-function-page_table_check_pud_clear/
* Build plan: https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/builds/31lrb0XugzFZYDePlPNpSIVTzeB
* Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/31lrb0XugzFZYDePlPNpSIVTzeB/
* Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/31lrb0XugzFZYDePlPNpSIVTzeB/config
--
Linaro LKFT
https://lkft.linaro.org
Powered by blists - more mailing lists