[next] sh: hugetlb.h:27:1: error: no return statement in function returning non-void [-Werror=return-type]

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

 



Following build regressions were noticed on sh builds on linux next-20220511
with gcc-11, gcc-10, gcc-9 and gcc-8.

Regressions found on sh:

   - gcc-11-microdev_defconfig
   - gcc-11-shx3_defconfig
   - gcc-8-defconfig
   - gcc-9-shx3_defconfig
   - gcc-8-dreamcast_defconfig
   - gcc-10-defconfig
   - gcc-10-microdev_defconfig
   - gcc-8-shx3_defconfig
   - gcc-8-microdev_defconfig
   - gcc-11-dreamcast_defconfig
   - gcc-9-microdev_defconfig
   - gcc-10-dreamcast_defconfig
   - gcc-11-defconfig
   - gcc-10-shx3_defconfig
   - gcc-9-defconfig
   - gcc-9-dreamcast_defconfig

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

In file included from include/linux/hugetlb.h:757,
                 from mm/filemap.c:36:
arch/sh/include/asm/hugetlb.h: In function 'huge_ptep_clear_flush':
arch/sh/include/asm/hugetlb.h:27:1: error: no return statement in
function returning non-void [-Werror=return-type]
   27 | }
      | ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:295: mm/filemap.o] Error 1


Build url: https://builds.tuxbuild.com/291BWxg5eELaKSwUXNLIqh5w1k3/


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



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

  Powered by Linux