Subject: Re: [next] s390: build failed

From: Randy Dunlap <[email-masked]>
Date: Thu, 21 Apr 2022 08:32:24 -0700

On 4/21/22 02:57, Naresh Kamboju wrote:
> Linux next-20220421 s390 tinyconfig and allnoconfig builds failed [1].
> 
> Regressions found on s390:
>   - s390-clang-nightly-tinyconfig
>   - s390-gcc-10-tinyconfig
>   - s390-gcc-11-tinyconfig
>   - s390-clang-14-allnoconfig
>   - s390-clang-nightly-allnoconfig
>   - s390-clang-14-tinyconfig
>   - s390-clang-13-tinyconfig
>   - s390-gcc-10-allnoconfig
>   - s390-clang-13-allnoconfig
>   - s390-gcc-9-allnoconfig
>   - s390-gcc-9-tinyconfig
>   - s390-gcc-11-allnoconfig
>   - s390-gcc-8-tinyconfig
>   - s390-gcc-8-allnoconfig
> 
> In file included from arch/s390/mm/pageattr.c:6:
> include/linux/hugetlb.h:414:25: error: unknown type name
> 'zap_flags_t'; did you mean 'vm_flags_t'?
>   414 |                         zap_flags_t zap_flags)
>       |                         ^~~~~~~~~~~
>       |                         vm_flags_t
> make[3]: *** [scripts/Makefile.build:284: arch/s390/mm/pageattr.o] Error 1
> 
> Reported-by: Linux Kernel Functional Testing <[email-masked]>
> 

Here's a fix:

https://lore.kernel.org/lkml/[email-masked]/

> --
> Linaro LKFT
> https://lkft.linaro.org
> 
> [1] https://builds.tuxbuild.com/2868Z0YrLSpSGSk9QDqRKYMJPug/

-- 
~Randy