Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6668821iob; Wed, 11 May 2022 02:44:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMMaeTEbts1EpH9+TgXaJ/nO4aUTstzu5XToA1eG79XDO/zHgo59oViBJr1OBsArrQaiv0 X-Received: by 2002:a50:e78d:0:b0:41d:c8ec:81b0 with SMTP id b13-20020a50e78d000000b0041dc8ec81b0mr27540287edn.56.1652262296884; Wed, 11 May 2022 02:44:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652262296; cv=none; d=google.com; s=arc-20160816; b=1F9/BMyYPQZJrRsZZpm0zIuTQsMd0eAerAnQKWqLfHRk3hx4OLfyhURGTu5VmespQi qOd+348LP2QiCS1v7vF00aHS4aUKSgk/9EwOlU6Z/2hUdVcBUqvqgaVkuFt50jRYRup1 sfaw/We/F9+rTjV476jF1f4eV0WdfmT/ac26TDkFuy0/Y7kGuRMUUtoEgf5etg6wABcv VUluA6ZHcz222N0Z43Sabb6xfT8gZk0GfWd2jfLY9+4BvdSM/ywtkA9LSdnmVJMLmV+6 kqHKBJDIgUatCuGp2rfl0X1B6PdgLUZjhXm1thw2asiylfpYlxkUE9HCH2MbBvczeUbT PcmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=l3GxOLtbw73sYny9t7lVVxAHv0bWf/ZyhbFpCZbGXBk=; b=Jf2gKvRtQ90aCc1K8zrmmqzf043NLT5SD91aTjZl3nkwM5R7WZud2nxRSm57U/1GsC wdfE01n644l5pS43OPUgCa0CwwkBLbsn9bv5q8J7ggZ+beUdxfg3VRKfN3bre4GwOrmk 0wuOCS/a3qN9ZS05F3XWDgho+TDwWjeMNrue9gYpEv7ckB9f6o1xxRoRmOywty+4bPcp YgMKmmFwUAkJduCNLMVSXR3yO0c3yVjbePD8X8r4a4S3CCrbhOVkhUP7iHgQaXq/3VB9 tAkDmnxPrb5EVhpeQ80H/G1jzLF0TeY4Fbx1gIIf4cyV8iWFAPfda3hpHh1mEmgfWge0 JeZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=RsXkWr6W; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f12-20020a0564021e8c00b00425c39b4751si1993781edf.254.2022.05.11.02.44.33; Wed, 11 May 2022 02:44:56 -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; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=RsXkWr6W; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243377AbiEKIPh (ORCPT + 99 others); Wed, 11 May 2022 04:15:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238624AbiEKIPg (ORCPT ); Wed, 11 May 2022 04:15:36 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D9C4E529F; Wed, 11 May 2022 01:15:35 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Kynln0N2Kz4xVP; Wed, 11 May 2022 18:15:33 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1652256933; bh=l3GxOLtbw73sYny9t7lVVxAHv0bWf/ZyhbFpCZbGXBk=; h=Date:From:To:Cc:Subject:From; b=RsXkWr6WzQK86RjgqjZZDhrCKhJdo+aRACVIXqRBx3GUDkr8AylOSuemmsscjqEvu o4RyELWTikZN1kwXsi4yKbtTDld/Jl0efDl23WBapJkFwzsuZUrtsykuafpAWhT7ZO pyq+JVY4dzWUr+dlKqPRvJHA0vw9tqi1jK5exCdNfdg+PNIB4mj4A4IAE7+k/3tNrx PB/U5pWuXMNbtz8OWBP1cvq7nrhBHVT3nMr6tcJSjTsQLJJUkPDjsDXokSsG2lnqVl Vrf+2KKIBlgt1ob5ZeXXUdAy97EvUwE72oZeo+rv4CoRTTh5vRWUyCr10swAcE+ya9 66IsdmOQgOzpw== Date: Wed, 11 May 2022 18:15:31 +1000 From: Stephen Rothwell To: Andrew Morton Cc: Baolin Wang , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the mm tree Message-ID: <20220511181531.7f27a5c1@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/J+y7q7vuvY==dwLKkKUlYze"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 --Sig_/J+y7q7vuvY==dwLKkKUlYze Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the mm tree, today's linux-next build (sparc64 defconfig) failed like this: In file included from include/linux/hugetlb.h:757, from arch/sparc/mm/hugetlbpage.c:11: arch/sparc/include/asm/hugetlb.h: In function 'huge_ptep_clear_flush': arch/sparc/include/asm/hugetlb.h:27:1: error: no return statement in functi= on returning non-void [-Werror=3Dreturn-type] 27 | } | ^ (and many more) Caused by commit 083af99303b9 ("mm: change huge_ptep_clear_flush() to return the original = pte") I applied the following hack to make it build. From: Stephen Rothwell Date: Wed, 11 May 2022 18:10:56 +1000 Subject: [PATCH] fix up for "mm: change huge_ptep_clear_flush() to return t= he original pte" Signed-off-by: Stephen Rothwell --- arch/sparc/include/asm/hugetlb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sparc/include/asm/hugetlb.h b/arch/sparc/include/asm/huge= tlb.h index b50aa6f8f9ab..0a26cca24232 100644 --- a/arch/sparc/include/asm/hugetlb.h +++ b/arch/sparc/include/asm/hugetlb.h @@ -24,6 +24,7 @@ pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsig= ned long addr, static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, unsigned long addr, pte_t *ptep) { + return *ptep; } =20 #define __HAVE_ARCH_HUGE_PTEP_SET_WRPROTECT --=20 2.35.1 --=20 Cheers, Stephen Rothwell --Sig_/J+y7q7vuvY==dwLKkKUlYze Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmJ7cKMACgkQAVBC80lX 0Gym7wf/XNKVY2qjh09VsvjnYKVVrvGP58LiYynPpbjCuwAQrM/o4B/bQy+7jjxJ daXgGe5PdGfGzdKhgshQmmm+x5JUyAMZmk7+/ldutnk0g77YJzZOHsRPMZVEAkgd rqZxl2W+FOpV9wL9nlI4LZk0ek+bi1icyu1YIgXr+H+I5NmGCzGbCF4a6lJB6McO /RycjMgPrNYp6XO6PDWq+IWEIbKX1yEkklveStv8FlTtoznRIDPx9cfTA4lKz/Nh 025VoADugEXKkLFO6P9Ubg3sOfPzqIDsoO5C+SML3vK67nsvgyk9WlulBpyRYbTr CK/Vnh2H47WqAgeoIZSh3mMygtXYgQ== =XfcZ -----END PGP SIGNATURE----- --Sig_/J+y7q7vuvY==dwLKkKUlYze--