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 3E51C8498 for ; Thu, 31 Aug 2023 11:12:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B13ACC433C8; Thu, 31 Aug 2023 11:12:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1693480350; bh=e7By6PCirEq/N4xa1fhWYCGAfFavDX6qlwyObKPq3Jo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2MTGOZRrN/Voz5GbiC78bz8WBpg7mjIL2ne1J1bvtsPRfCONdTBNTJaO70zW0Bnyx tNcxOBnDlOPIhzzMgDG0hcGJ9hMiVUm14VfFbv2diXY9as+0vWc8Re8GdfVcDthfvJ aROvc37R8bVONFaSlNVG7TKLACNFWgs2gFufidKs= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Arnd Bergmann , Kees Cook , Ard Biesheuvel , Catalin Marinas Subject: [PATCH 6.4 4/9] arm64: module-plts: inline linux/moduleloader.h Date: Thu, 31 Aug 2023 13:11:31 +0200 Message-ID: <20230831111127.868099664@linuxfoundation.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230831111127.667900990@linuxfoundation.org> References: <20230831111127.667900990@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.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit 60a0aab7463ee69296692d980b96510ccce3934e upstream. module_frob_arch_sections() is declared in moduleloader.h, but that is not included before the definition: arch/arm64/kernel/module-plts.c:286:5: error: no previous prototype for 'module_frob_arch_sections' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann Reviewed-by: Kees Cook Acked-by: Ard Biesheuvel Link: https://lore.kernel.org/r/20230516160642.523862-11-arnd@kernel.org Signed-off-by: Catalin Marinas Signed-off-by: Greg Kroah-Hartman --- arch/arm64/kernel/module-plts.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm64/kernel/module-plts.c +++ b/arch/arm64/kernel/module-plts.c @@ -7,6 +7,7 @@ #include #include #include +#include #include static struct plt_entry __get_adrp_add_pair(u64 dst, u64 pc,