next: mm/khugepaged.c:1702:30: error: implicit declaration of function 'vma_try_start_write'; did you mean 'vma_start_write'? [-Werror=implicit-function-declaration]
From: Naresh Kamboju
Date: Mon Mar 06 2023 - 06:13:56 EST
Following build regression noticed on i386, mips and s390.
mm/khugepaged.c: In function 'retract_page_tables':
mm/khugepaged.c:1702:30: error: implicit declaration of function
'vma_try_start_write'; did you mean 'vma_start_write'?
[-Werror=implicit-function-declaration]
1702 | if (!vma_try_start_write(vma))
| ^~~~~~~~~~~~~~~~~~~
| vma_start_write
cc1: all warnings being treated as errors
build details:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230306/testrun/15286608/suite/build/test/gcc-11-lkftconfig-rcutorture/details/
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230306/testrun/15286608/suite/build/test/gcc-11-lkftconfig-rcutorture/log
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
tuxmake --runtime podman \
--target-arch i386 \
--toolchain gcc-12 \
--kconfig
https://storage.tuxsuite.com/public/linaro/lkft/builds/2McWOXP1OH5MiYficVNv8hJCR4F/config
Similar issues have been reported and discussed on the mailing list.
- https://lore.kernel.org/all/20230305191335.fee8e6aa285b0ca771cab9dd@xxxxxxxxxxxxxxxxxxxx/
--
Linaro LKFT
https://lkft.linaro.org