* [PATCH] x86/mm/mmap: Fix -Wmissing-prototypes warnings
@ 2020-04-02 12:43 Benjamin Thiel
2020-04-22 19:13 ` [tip: x86/cleanups] " tip-bot2 for Benjamin Thiel
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Thiel @ 2020-04-02 12:43 UTC (permalink / raw)
To: LKML; +Cc: X86 ML, Benjamin Thiel
Add includes for the prototypes of valid_phys_addr_range(),
arch_mmap_rnd() and valid_mmap_phys_addr_range() in order to fix
-Wmissing-prototypes warnings.
Signed-off-by: Benjamin Thiel <b.thiel@posteo.de>
---
arch/x86/mm/mmap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/mm/mmap.c b/arch/x86/mm/mmap.c
index cb91eccc4960..c90c20904a60 100644
--- a/arch/x86/mm/mmap.c
+++ b/arch/x86/mm/mmap.c
@@ -18,7 +18,9 @@
#include <linux/sched/signal.h>
#include <linux/sched/mm.h>
#include <linux/compat.h>
+#include <linux/elf-randomize.h>
#include <asm/elf.h>
+#include <asm/io.h>
#include "physaddr.h"
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip: x86/cleanups] x86/mm/mmap: Fix -Wmissing-prototypes warnings
2020-04-02 12:43 [PATCH] x86/mm/mmap: Fix -Wmissing-prototypes warnings Benjamin Thiel
@ 2020-04-22 19:13 ` tip-bot2 for Benjamin Thiel
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Benjamin Thiel @ 2020-04-22 19:13 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Benjamin Thiel, Borislav Petkov, x86, LKML
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 60abfd08e88b2b41366dcdb1e586614770c791fa
Gitweb: https://git.kernel.org/tip/60abfd08e88b2b41366dcdb1e586614770c791fa
Author: Benjamin Thiel <b.thiel@posteo.de>
AuthorDate: Thu, 02 Apr 2020 14:43:07 +02:00
Committer: Borislav Petkov <bp@suse.de>
CommitterDate: Wed, 22 Apr 2020 20:19:48 +02:00
x86/mm/mmap: Fix -Wmissing-prototypes warnings
Add includes for the prototypes of valid_phys_addr_range(),
arch_mmap_rnd() and valid_mmap_phys_addr_range() in order to fix
-Wmissing-prototypes warnings.
Signed-off-by: Benjamin Thiel <b.thiel@posteo.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200402124307.10857-1-b.thiel@posteo.de
---
arch/x86/mm/mmap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/mm/mmap.c b/arch/x86/mm/mmap.c
index cb91ecc..c90c209 100644
--- a/arch/x86/mm/mmap.c
+++ b/arch/x86/mm/mmap.c
@@ -18,7 +18,9 @@
#include <linux/sched/signal.h>
#include <linux/sched/mm.h>
#include <linux/compat.h>
+#include <linux/elf-randomize.h>
#include <asm/elf.h>
+#include <asm/io.h>
#include "physaddr.h"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-22 19:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02 12:43 [PATCH] x86/mm/mmap: Fix -Wmissing-prototypes warnings Benjamin Thiel
2020-04-22 19:13 ` [tip: x86/cleanups] " tip-bot2 for Benjamin Thiel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®