Re: mm/gup.c:1922:7: error: implicit declaration of function ‘is_valid_gup_flags’
From: Naresh Kamboju
Date: Thu Aug 20 2020 - 09:11:34 EST
On Thu, 20 Aug 2020 at 14:59, Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
>
> arm and riscv architecture build failed on linux next 20200820 tag.
The pass with defconfig but failed with tinyconfig and allnoconfig.
> make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> arm-linux-gnueabihf-gcc" O=build zImage
>
> 348#
> 349../mm/gup.c: In function ‘get_user_pages’:
> 350../mm/gup.c:1922:7: error: implicit declaration of function
> ‘is_valid_gup_flags’ [-Werror=implicit-function-declaration]
> 351 1922 | if (!is_valid_gup_flags(gup_flags))
> 352 | ^~~~~~~~~~~~~~~~~~
> 353cc1: some warnings being treated as errors
>
> Full build log,
> https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/695005038
> https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/695005042
>
> --
> Linaro LKFT
> https://lkft.linaro.org