s390: facility.h:98:22: error: implicit declaration of function 'min_t' [-Werror=implicit-function-declaration]

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

 



Regression found on s390 gcc-11 built with defconfig
Following build warnings / errors reported on linux next 20211028.

metadata:
    git_describe: next-20211028
    git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
    git_short_log: 503f375baa99 (\"Add linux-next specific files for 20211028\")
    target_arch: s390
    toolchain: gcc-11

build error :
--------------
<stdin>:1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp]
In file included from arch/s390/pci/pci_insn.c:12:
arch/s390/include/asm/facility.h: In function '__stfle':
arch/s390/include/asm/facility.h:98:22: error: implicit declaration of
function 'min_t' [-Werror=implicit-function-declaration]
   98 |                 nr = min_t(unsigned long, (nr + 1) * 8, size * 8);
      |                      ^~~~~
arch/s390/include/asm/facility.h:98:28: error: expected expression
before 'unsigned'
   98 |                 nr = min_t(unsigned long, (nr + 1) * 8, size * 8);
      |                            ^~~~~~~~
cc1: some warnings being treated as errors


Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

build link:
-----------
https://builds.tuxbuild.com/208R0Wv3siu0646e0z4lUYcUQD3/build.log

build config:
-------------
https://builds.tuxbuild.com/208R0Wv3siu0646e0z4lUYcUQD3/config

# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch s390 --toolchain gcc-11
--kconfig defconfig

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



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux