From: Philippe Mazenauer <philippe.mazenauer@outlook.de> To: unlisted-recipients:; (no To-header on input) Cc: Philippe Mazenauer <philippe.mazenauer@outlook.de>, Russell King <linux@armlinux.org.uk>, "moderated list:ARM PORT" <linux-arm-kernel@lists.infradead.org>, open list <linux-kernel@vger.kernel.org> Subject: [PATCH] arm: kernel: add missing import <linux/moduleloader.h> Date: Wed, 22 May 2019 09:57:11 +0000 [thread overview] Message-ID: <VI1PR07MB443223E9DBAF0354739AA194FD000@VI1PR07MB4432.eurprd07.prod.outlook.com> (raw) Include corresponding header file <linux/moduleloader.h> for function module_frob_arch_sections(). ../arch/arm/kernel/module-plts.c:191:5: warning: no previous prototype for ‘module_frob_arch_sections’ [-Wmissing-prototypes] int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, ^~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Philippe Mazenauer <philippe.mazenauer@outlook.de> --- arch/arm/kernel/module-plts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/kernel/module-plts.c b/arch/arm/kernel/module-plts.c index 3d0c2e4dda1d..3725eccdaa73 100644 --- a/arch/arm/kernel/module-plts.c +++ b/arch/arm/kernel/module-plts.c @@ -9,6 +9,7 @@ #include <linux/elf.h> #include <linux/kernel.h> #include <linux/module.h> +#include <linux/moduleloader.h> #include <linux/sort.h> #include <asm/cache.h> -- 2.17.1
WARNING: multiple messages have this Message-ID (diff)
From: Philippe Mazenauer <philippe.mazenauer@outlook.de> Cc: Philippe Mazenauer <philippe.mazenauer@outlook.de>, Russell King <linux@armlinux.org.uk>, "moderated list:ARM PORT" <linux-arm-kernel@lists.infradead.org>, open list <linux-kernel@vger.kernel.org> Subject: [PATCH] arm: kernel: add missing import <linux/moduleloader.h> Date: Wed, 22 May 2019 09:57:11 +0000 [thread overview] Message-ID: <VI1PR07MB443223E9DBAF0354739AA194FD000@VI1PR07MB4432.eurprd07.prod.outlook.com> (raw) Include corresponding header file <linux/moduleloader.h> for function module_frob_arch_sections(). ../arch/arm/kernel/module-plts.c:191:5: warning: no previous prototype for ‘module_frob_arch_sections’ [-Wmissing-prototypes] int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, ^~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Philippe Mazenauer <philippe.mazenauer@outlook.de> --- arch/arm/kernel/module-plts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/kernel/module-plts.c b/arch/arm/kernel/module-plts.c index 3d0c2e4dda1d..3725eccdaa73 100644 --- a/arch/arm/kernel/module-plts.c +++ b/arch/arm/kernel/module-plts.c @@ -9,6 +9,7 @@ #include <linux/elf.h> #include <linux/kernel.h> #include <linux/module.h> +#include <linux/moduleloader.h> #include <linux/sort.h> #include <asm/cache.h> -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2019-05-22 9:57 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-22 9:57 Philippe Mazenauer [this message] 2019-05-22 9:57 ` [PATCH] arm: kernel: add missing import <linux/moduleloader.h> Philippe Mazenauer
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=VI1PR07MB443223E9DBAF0354739AA194FD000@VI1PR07MB4432.eurprd07.prod.outlook.com \ --to=philippe.mazenauer@outlook.de \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux@armlinux.org.uk \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.