2022-04-22 18:34:27

by Naresh Kamboju

[permalink] [raw]
Subject: [next] s390: build failed

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

--
Linaro LKFT
https://lkft.linaro.org

[1] https://builds.tuxbuild.com/2868Z0YrLSpSGSk9QDqRKYMJPug/


2022-04-22 20:09:27

by Randy Dunlap

[permalink] [raw]
Subject: Re: [next] s390: build failed



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

Here's a fix:

https://lore.kernel.org/lkml/[email protected]/

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

--
~Randy