[<prev] [next>] [day] [month] [year] [list]
Message-ID: <VI1PR07MB443223E9DBAF0354739AA194FD000@VI1PR07MB4432.eurprd07.prod.outlook.com>
Date: Wed, 22 May 2019 09:57:11 +0000
From: Philippe Mazenauer <philippe.mazenauer@...look.de>
To: unlisted-recipients:; (no To-header on input)
CC: Philippe Mazenauer <philippe.mazenauer@...look.de>,
Russell King <linux@...linux.org.uk>,
"moderated list:ARM PORT" <linux-arm-kernel@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: [PATCH] arm: kernel: add missing import <linux/moduleloader.h>
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@...look.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
Powered by blists - more mailing lists