lkml.org 
[lkml]   [2023]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 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]
On Mon, Mar 6, 2023 at 3:13 AM Naresh Kamboju <naresh.kamboju@linaro.org> 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@smtp.kernel.org/
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@linux-foundation.org/
>
> --
> Linaro LKFT
> https://lkft.linaro.org

\
 
 \ /
  Last update: 2023-03-27 00:45    [W:0.055 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site