Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1301839iob; Thu, 12 May 2022 16:15:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTTPGz0ZX7grftm2AtcAgTTfp6n/OiA0UIQfx0j4fSQIixyWnpticiTYydgMS9XJYLtKaB X-Received: by 2002:a62:a209:0:b0:510:3c47:7888 with SMTP id m9-20020a62a209000000b005103c477888mr1665124pff.14.1652397312829; Thu, 12 May 2022 16:15:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652397312; cv=none; d=google.com; s=arc-20160816; b=o6aJYxqkrTU2I6dXw2Hcr/viNKo13XBj5Vca35+wzbm0PFxwUzwglgC7XVIHRKPJ+U EGlbrR+w9KpAhyMp7tem6P4ixCwF9V3uPHtvf/MUv82Xv6XRRAf7IAVpU/gHnQ62Ty/p Q6rNY9n49CXUihr7JvuOSi4L6oFifT2a1RF2WHUCjNDG/+UvOAUXEl4D8l1ZW00hm3qc Q6Q9KwPuW4zb9hQOl1ivLldsAufDoFiC1zxDRRG1sjt5ucz+0gYuL5K3j6SLvynmi+7w RRZy3OsOEp5n4gJAJd26TN2Jx0DmoPaYOeQYdY2RcJb5f/jE4eeUQSbkDzcyNWrzI+j3 OFEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=C3g6w+TUqrQwuxkkhm6hm+Xh7ICBZd6Fn6H2P4oWHiM=; b=FUdDlW0wmutqmfFedo+Vu2OVQATd9MmhK7O3w0Mbn/4h8OPKfxIvcqg1XcGR4ME1LA I1AX75VJRjmDjrHN3qokNaW42sNRh2BW3NpkNhRUava+B31vMjJrPTO/D9nDM44nflgM zBNlopFfrQ768XWDJiSINwRVlkWsCpD/BYYwzFYUqspsJvQoNx6vaPH9keBtDA71hd90 ODrm5ex59VauwNNZFe49u2X/WR9EWy22yVEMB43k0xIIpEQE81OxSIY6tcPrFakCmKcS +nMyNY164Lcs8rQsJJ9Lf4OHHkxMQuBGuaUvwe7A5mn2UAvqAZD2fPEf2x09WhX6PTxb 6PhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u22-20020a63d356000000b003ab92744f7fsi978892pgi.405.2022.05.12.16.14.58; Thu, 12 May 2022 16:15:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348092AbiELAPd (ORCPT + 99 others); Wed, 11 May 2022 20:15:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230140AbiELAPb (ORCPT ); Wed, 11 May 2022 20:15:31 -0400 Received: from out30-57.freemail.mail.aliyun.com (out30-57.freemail.mail.aliyun.com [115.124.30.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6FE69C2E2; Wed, 11 May 2022 17:15:29 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R561e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0VCy.jBT_1652314516; Received: from 30.39.157.75(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0VCy.jBT_1652314516) by smtp.aliyun-inc.com(127.0.0.1); Thu, 12 May 2022 08:15:17 +0800 Message-ID: Date: Thu, 12 May 2022 08:15:55 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [next] sh: hugetlb.h:27:1: error: no return statement in function returning non-void [-Werror=return-type] To: Naresh Kamboju Cc: Stephen Rothwell , Andrew Morton , Linux-Next Mailing List , open list , linux-mm , lkft-triage@lists.linaro.org References: From: Baolin Wang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > 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/