From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1DB8188CB3; Tue, 10 Sep 2024 09:57:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725962255; cv=none; b=ltCJ+KEk/QYd8CeMvIn0KdERtgs2heYC/XZq6m1Uxptt6nEy2Y8JWM2Y6LKcKnqw5m4+RkeCEeaIerAyZekBquuhrtEo0zt9QjWwJNNtkrjqTemRYxzbaEvAZ9ulvIt4eeZfGgO9FoU9qDCO4XUrFVM7WMNv2YkCpeE8mJROHuE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725962255; c=relaxed/simple; bh=zHzxIH/0R6QzykfEIKnZhlSZE4CHGpFlRkWolit+WTM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pttyJKhQn47V6QpDtEZeImktgejxyuUuSGrJ8RCA/LxEiXjSnQSbkDGwPbn6OVPhnKS7IuAYtqJxFgiBXL9GGR1pEgA/4sHv4iI/vS2lmky21pJwWIE5P3mXQnnLmbGRJLdBp5Ed9x0bH4eR7etsMeEkWbacE/s9o3ojPNYjsAY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TdScOQLl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="TdScOQLl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78FDBC4CEC3; Tue, 10 Sep 2024 09:57:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1725962254; bh=zHzxIH/0R6QzykfEIKnZhlSZE4CHGpFlRkWolit+WTM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TdScOQLlcbF4FASEvQmlBLrt2laOnHH+ew4t6nXrBq15lLcDfQQFopMjnKMHSmtJZ 9LiA9ly7Me5UQnoV5qYr3iF1b1uV52So0NxVNXRTPVd+cJAB2By8qTAs6uAMyt50U1 AvybpWHvwziDQkldD3GsRQARG4/M9uyYemKn9EUk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Christophe Leroy , Michael Ellerman , Sasha Levin Subject: [PATCH 6.10 340/375] powerpc/64e: Define mmu_pte_psize static Date: Tue, 10 Sep 2024 11:32:17 +0200 Message-ID: <20240910092634.006491069@linuxfoundation.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240910092622.245959861@linuxfoundation.org> References: <20240910092622.245959861@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Christophe Leroy [ Upstream commit d92b5cc29c792f1d3f0aaa3b29dddfe816c03e88 ] mmu_pte_psize is only used in the tlb_64e.c, define it static. Fixes: 25d21ad6e799 ("powerpc: Add TLB management code for 64-bit Book3E") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202408011256.1O99IB0s-lkp@intel.com/ Signed-off-by: Christophe Leroy Signed-off-by: Michael Ellerman Link: https://msgid.link/beb30d280eaa5d857c38a0834b147dffd6b28aa9.1724157750.git.christophe.leroy@csgroup.eu Signed-off-by: Sasha Levin --- arch/powerpc/mm/nohash/tlb_64e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/nohash/tlb_64e.c b/arch/powerpc/mm/nohash/tlb_64e.c index 1dcda261554c..b6af3ec4d001 100644 --- a/arch/powerpc/mm/nohash/tlb_64e.c +++ b/arch/powerpc/mm/nohash/tlb_64e.c @@ -33,7 +33,7 @@ * though this will probably be made common with other nohash * implementations at some point */ -int mmu_pte_psize; /* Page size used for PTE pages */ +static int mmu_pte_psize; /* Page size used for PTE pages */ int mmu_vmemmap_psize; /* Page size used for the virtual mem map */ int book3e_htw_mode; /* HW tablewalk? Value is PPC_HTW_* */ unsigned long linear_map_top; /* Top of linear mapping */ -- 2.43.0