Messages in this thread Patch in this message | | | From | Ben Dooks <> | Subject | [PATCH 2/4] arm: fix missing declartion of module_frob_arch_sections | Date | Wed, 25 Sep 2019 15:16:02 +0100 |
| |
The module_frob_arch_sections function is missing the header declaration which is in <linux/moduleloader.h> so include that to fix the following sparse warning:
arch/arm/kernel/module-plts.c:188:5: warning: symbol 'module_frob_arch_sections' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> --- 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 b647741c0ab0..6e626abaefc5 100644 --- a/arch/arm/kernel/module-plts.c +++ b/arch/arm/kernel/module-plts.c @@ -7,6 +7,7 @@ #include <linux/kernel.h> #include <linux/module.h> #include <linux/sort.h> +#include <linux/moduleloader.h> #include <asm/cache.h> #include <asm/opcodes.h> -- 2.23.0
| |