Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2745700rdh; Sun, 26 Nov 2023 18:28:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXJjPuhUVgcMZeOOzjxjzrk5zykLi1QlcBxW48JOMN9azlDckXIhsy1Jpi7kKp1xornlbr X-Received: by 2002:a05:6a21:195:b0:187:cf88:1a34 with SMTP id le21-20020a056a21019500b00187cf881a34mr15761021pzb.8.1701052111147; Sun, 26 Nov 2023 18:28:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701052111; cv=none; d=google.com; s=arc-20160816; b=N8vh3Ea33Df6KilwHqgmtlgYkXiCXSQvLAf75vA0hUm/6v0nvxz83sSQhLfMNT7tpN HZNXg3XPM/KyQcoWqAe5FFJcFfemhvD+WdmbpvWbShnoXRmwF++iPf+770eywCEwVej9 +aMpd+LWPaUexlLp16S0Mffge0b78WIGVOdUlfZAk6YT+QIuJbfUNdXdIxx1opK+bcm+ jG5zs9i1tqnwUuPrR4QxpXIrMSwS0qF5aOhRUoIpSSRaI237sW1BNUYo+XzpU+G5fDqV wi/KMLorv6EBaRa8xgCg06ksMenXOGjEoFaNXKEbVC+dcYOI/ynzTCUQS1z8AuOPx9tr PwvQ== 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=qhOqTKNBi/EFmiADHd5ayMEH+8UZij1qQS+GarSvOk8=; fh=D2h4ktC6nF/netB5lIh9ji1lVzbP0UQjXgEV4wEkrkE=; b=ny1hnnqAogYSaAsEDDHPGuS5QBDCT4lNhko/zUCi4GaK2oly76nu7JtQ8bHBMF9yGZ 1IE4x1TOaLLD5SgfbDG0XSiXI9kcYhS063GpVsjSX/x7Vt2phpboyzWCYF8cDcjIBAWn uOqelxtKteX5wO+CsgrOpME5ElCp5op9vkxKvMl74//Qgu9ClumeqAP6Nv22AVIAWUhM Cp5xA1p2MHkJu9RKXEnaLhlLh6RhU1gznHSXpj3+KLyJY3PEns6MAKSdklYgZaZHPM5G BgiT9ykJXMQxhVvN7SrryAYLABm4zpUyDUfkueWDrXtGIKqiqk4j8DXEcwhvjJsTZf5d APbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=LhNCEe3s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id y192-20020a638ac9000000b0059bdf5a4ecfsi8586046pgd.247.2023.11.26.18.28.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 18:28:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=LhNCEe3s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 43996806290D; Sun, 26 Nov 2023 18:28:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231300AbjK0C2L (ORCPT + 99 others); Sun, 26 Nov 2023 21:28:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjK0C2K (ORCPT ); Sun, 26 Nov 2023 21:28:10 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03904C5; Sun, 26 Nov 2023 18:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1701052092; bh=qhOqTKNBi/EFmiADHd5ayMEH+8UZij1qQS+GarSvOk8=; h=Date:From:To:Cc:Subject:From; b=LhNCEe3skKSb/ECq4ppTKq8aHTaRWKOeb+3+Du8FdQ27ddNvgc6GPe0sPt7OQYk7j s4ToPmGWPchF1qiRJr31AjSpZmgZPvMFCftOdTOuE5BB+K2Chuhzn6IKiSIXm23h9h FO/pK2udynSyu8+5gIFfiKkbbH7v1W2+FAuW/w9E4DPmQ3d3gHMTY3NEgCAhRFCV79 hblnISeNqVKlM3SQPei03+PaOkjmLREgeg8Qs+d9oTdDJeKpRh9R1PkIziilbTI98i N9FbQE2RuXOjbN6Xnb7FuT/9kb40ofY2ihmEmvBO5DMZCMfT3U+lccXjTdrzBnSSGI idGhksHo7LcQA== 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 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SdqJC5XRsz4wcJ; Mon, 27 Nov 2023 13:28:11 +1100 (AEDT) Date: Mon, 27 Nov 2023 13:28:09 +1100 From: Stephen Rothwell To: Andrew Morton Cc: Arnd Bergmann , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: build failure after merge of the mm tree Message-ID: <20231127132809.45c2b398@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_//JC9PMS_qqHdMn+RHzl7VN."; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 26 Nov 2023 18:28:28 -0800 (PST) --Sig_//JC9PMS_qqHdMn+RHzl7VN. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the mm tree, today's linux-next build (powerpc64 allnoconfig) failed like this: arch/powerpc/mm/book3s64/pgtable.c:557:5: error: no previous prototype for = 'pmd_move_must_withdraw' [-Werror=3Dmissing-prototypes] 557 | int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl, | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Caused by commit c6345dfa6e3e ("Makefile.extrawarn: turn on missing-prototypes globally") I have added the following patch for today (which could be applied to the mm or powerpc trees): =46rom 194805b44c11b4c0aa28bdcdc0bb0d82acef394c Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Mon, 27 Nov 2023 13:08:57 +1100 Subject: [PATCH] powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE Signed-off-by: Stephen Rothwell --- arch/powerpc/mm/book3s64/pgtable.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/mm/book3s64/pgtable.c b/arch/powerpc/mm/book3s64/= pgtable.c index be229290a6a7..3438ab72c346 100644 --- a/arch/powerpc/mm/book3s64/pgtable.c +++ b/arch/powerpc/mm/book3s64/pgtable.c @@ -542,6 +542,7 @@ void ptep_modify_prot_commit(struct vm_area_struct *vma= , unsigned long addr, set_pte_at(vma->vm_mm, addr, ptep, pte); } =20 +#ifdef CONFIG_TRANSPARENT_HUGEPAGE /* * For hash translation mode, we use the deposited table to store hash slot * information and they are stored at PTRS_PER_PMD offset from related pmd @@ -563,6 +564,7 @@ int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl, =20 return true; } +#endif =20 /* * Does the CPU support tlbie? --=20 2.40.1 --=20 Cheers, Stephen Rothwell --Sig_//JC9PMS_qqHdMn+RHzl7VN. Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmVj/rkACgkQAVBC80lX 0GxGEwf/WzdRnWh92onGJMdaj8YGBZo1ubNgvxb0d+sEfSNZYTUqDHtXT7fEKOby I8Ps208c+rIIXcJ1liNKHhpqCgePqwWIoylwLLStLplg+2Ohi3fODQFTR5XRBmVY J596F5FfPJeKs13eBSgMBp7wuE5vD5YMmHgFHutGlUkakmLGQNMmdJBL7IVxRyyf J/t974Rnp/hodhQfvYdpvxCJW6GB5gQVQQEdjn7mnePTnm6A6CdYEfeGlAFlHlk6 EB0+BjQh4SmUAStecJ6f1Q9O0z2gY0QaEQYBZVYrB3+7ppGMFOO43n7XoSbkBGSE GTN1l6RNX1P6F9MNBJoy8/zmNSB++A== =lVkl -----END PGP SIGNATURE----- --Sig_//JC9PMS_qqHdMn+RHzl7VN.--