From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev, Arnd Bergmann <arnd@arndb.de>,
Kees Cook <keescook@chromium.org>,
Ard Biesheuvel <ardb@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>
Subject: [PATCH 6.4 4/9] arm64: module-plts: inline linux/moduleloader.h
Date: Thu, 31 Aug 2023 13:11:31 +0200 [thread overview]
Message-ID: <20230831111127.868099664@linuxfoundation.org> (raw)
In-Reply-To: <20230831111127.667900990@linuxfoundation.org>
6.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Arnd Bergmann <arnd@arndb.de>
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 <arnd@arndb.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20230516160642.523862-11-arnd@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
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 <linux/ftrace.h>
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/moduleloader.h>
#include <linux/sort.h>
static struct plt_entry __get_adrp_add_pair(u64 dst, u64 pc,
next prev parent reply other threads:[~2023-08-31 11:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-31 11:11 [PATCH 6.4 0/9] 6.4.14-rc1 review Greg Kroah-Hartman
2023-08-31 11:11 ` [PATCH 6.4 1/9] ACPI: thermal: Drop nocrt parameter Greg Kroah-Hartman
2023-08-31 11:11 ` [PATCH 6.4 2/9] module/decompress: use vmalloc() for zstd decompression workspace Greg Kroah-Hartman
2023-08-31 11:11 ` [PATCH 6.4 3/9] module: Expose module_init_layout_section() Greg Kroah-Hartman
2023-08-31 11:11 ` Greg Kroah-Hartman [this message]
2023-08-31 11:11 ` [PATCH 6.4 5/9] arm64: module: Use module_init_layout_section() to spot init sections Greg Kroah-Hartman
2023-08-31 11:11 ` [PATCH 6.4 6/9] ARM: " Greg Kroah-Hartman
2023-08-31 11:11 ` [PATCH 6.4 7/9] lockdep: fix static memory detection even more Greg Kroah-Hartman
2023-08-31 11:11 ` [PATCH 6.4 8/9] parisc: sys_parisc: parisc_personality() is called from asm code Greg Kroah-Hartman
2023-08-31 11:11 ` [PATCH 6.4 9/9] kallsyms: Fix kallsyms_selftest failure Greg Kroah-Hartman
2023-08-31 21:26 ` [PATCH 6.4 0/9] 6.4.14-rc1 review Florian Fainelli
2023-09-01 1:04 ` SeongJae Park
2023-09-01 6:13 ` Ron Economos
2023-09-01 7:02 ` Bagas Sanjaya
2023-09-01 9:46 ` Sudip Mukherjee (Codethink)
2023-09-01 10:37 ` Naresh Kamboju
2023-09-01 13:42 ` Justin Forbes
2023-09-01 15:22 ` Shuah Khan
2023-09-01 18:46 ` Jon Hunter
2023-09-02 4:19 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230831111127.868099664@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=ardb@kernel.org \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=keescook@chromium.org \
--cc=patches@lists.linux.dev \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).