Re: 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]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 6, 2023 at 3:13 AM Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
>
> 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

Thanks for reporting. I posted a fix over the weekend:
https://lore.kernel.org/all/20230304232856.DD36BC433D2@xxxxxxxxxxxxxxx/
which should be merged soon.

>
> 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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux