lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b04fb722-1a35-9586-93e2-b9353e2944d7@linux.alibaba.com>
Date:   Thu, 12 May 2022 08:15:55 +0800
From:   Baolin Wang <baolin.wang@...ux.alibaba.com>
To:     Naresh Kamboju <naresh.kamboju@...aro.org>
Cc:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linux-Next Mailing List <linux-next@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>,
        linux-mm <linux-mm@...ck.org>, lkft-triage@...ts.linaro.org
Subject: Re: [next] sh: hugetlb.h:27:1: error: no return statement in function
 returning non-void [-Werror=return-type]

Hi,

On 5/11/2022 11:56 PM, Naresh Kamboju wrote:
> 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@...aro.org>
> 
> 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/

Thanks for reporting. I'm sorry for my stupid mistakes. I've sent out a 
V4 to fix building issues[1], and Stephen will update today's 
(next-20220512) linux-next. Please test today's linux-next. Sorry for 
troubles again.

[1] 
https://lore.kernel.org/all/cover.1652270205.git.baolin.wang@linux.alibaba.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ