Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1927186pxb; Mon, 13 Sep 2021 08:19:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzybMMhUmLVhEpuVS0oj66+ZKSVjE43GP6oVI54p27fy3qEjrpwgouq8JL1vBlsyHsTJzd/ X-Received: by 2002:a02:7b01:: with SMTP id q1mr2012146jac.81.1631546389640; Mon, 13 Sep 2021 08:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631546389; cv=none; d=google.com; s=arc-20160816; b=vq5EZVluisq4EBtT3SN+URrXZuNAhsneGWZ5r97D1R1NgTPXHq3lnBgoN6rW1bZ8go pevjQQ3JbJjcSbk1+z1Mj16g9x6jQQccyP5jeTtTjthDL/HZlS17GQQC99KgfQxYLHhP wakSaCypzoaBhKTKKBoB7Dcb5tTIk+cnwZFEviE+UyEv68VEJCRg9iJFudpiZn15zGCf PqCgrlXNvBtu+2bpgX7ndlp+Rzlhk25fQFXj0ewa5ChWBGjLaUeVvIbcbkIZrUFh5mJS mZgjhQHk07T8PF23iqrRmfIp7MRIqaoeN0BAlOiCLDrkZruhYbcE4vkUcwmUoeYFNuDZ 5ebg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ozFMAvGuaHPVNoQ4LAkauUn0kOiPBWTS9hB8k4IRXB0=; b=CE1dy15ragZ7Q9b9/zqU+hzOc11WCzem3jBvyr/1vTZyRSOCgUvNO5g0aOjHlhjgHS GKL+xs5i1yIdz21VZiP+i1QniVgnmtBfb7jSM32/GarAkC8BOqIr+d01PQc7QKvO3zfs sM9y2842mAU4/fEGlANiDKxInngFWsQQjh4kADbycj6WeADKEFQDUmelDqvT1W7VeohO rQ+yx9FrWCusss7Wy4vDeUYbfIPhg4cEnPKv11OXYcvCN416hqUjae98Z+MPIph0/Ghp YqSHXKo7XNPJH3x8BwDiFDfQlTkcnsYlZmEgnvey96GRBn52SDbzLhImtgVB0bq7Ssc8 1KFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k17si8328568jav.64.2021.09.13.08.19.37; Mon, 13 Sep 2021 08:19:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244824AbhIMPTi (ORCPT + 99 others); Mon, 13 Sep 2021 11:19:38 -0400 Received: from pegase2.c-s.fr ([93.17.235.10]:47407 "EHLO pegase2.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345577AbhIMPSz (ORCPT ); Mon, 13 Sep 2021 11:18:55 -0400 Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4H7VTY747jz9sVX; Mon, 13 Sep 2021 17:17:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KtPPYtUP-FMq; Mon, 13 Sep 2021 17:17:37 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4H7VTY6LMXz9sV3; Mon, 13 Sep 2021 17:17:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id C644F8B76E; Mon, 13 Sep 2021 17:17:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 9g2vTJsU-2uC; Mon, 13 Sep 2021 17:17:37 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (unknown [172.25.230.107]) by messagerie.si.c-s.fr (Postfix) with ESMTP id AD5F58B763; Mon, 13 Sep 2021 17:17:37 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (localhost [127.0.0.1]) by PO20335.IDSI0.si.c-s.fr (8.16.1/8.16.1) with ESMTPS id 18DFHSgd157650 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 17:17:28 +0200 Received: (from chleroy@localhost) by PO20335.IDSI0.si.c-s.fr (8.16.1/8.16.1/Submit) id 18DFHS4k157649; Mon, 13 Sep 2021 17:17:28 +0200 X-Authentication-Warning: PO20335.IDSI0.si.c-s.fr: chleroy set sender to christophe.leroy@csgroup.eu using -f From: Christophe Leroy To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: Christophe Leroy , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kernel test robot Subject: [PATCH] powerpc/mem: Fix arch/powerpc/mm/mem.c:53:12: error: no previous prototype for 'create_section_mapping' Date: Mon, 13 Sep 2021 17:17:26 +0200 Message-Id: <025754fde3d027904ae9d0191f395890bec93369.1631541649.git.christophe.leroy@csgroup.eu> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 8e11d62e2e87 ("powerpc/mem: Add back missing header to fix 'no previous prototype' error") was supposed to fix the problem, but in the meantime commit a927bd6ba952 ("mm: fix phys_to_target_node() and* memory_add_physaddr_to_nid() exports") moved create_section_mapping() prototype from asm/sparsemem.h to asm/mmzone.h Reported-by: kernel test robot Fixes: 8e11d62e2e87 ("powerpc/mem: Add back missing header to fix 'no previous prototype' error") Signed-off-by: Christophe Leroy --- arch/powerpc/mm/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index ad198b439222..0380efff535a 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c @@ -20,8 +20,8 @@ #include #include #include -#include #include +#include #include -- 2.31.1