From: "tip-bot2 for Benjamin Thiel" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Benjamin Thiel <b.thiel@posteo.de>, Borislav Petkov <bp@suse.de>,
x86 <x86@kernel.org>, LKML <linux-kernel@vger.kernel.org>
Subject: [tip: x86/cleanups] x86/mm/mmap: Fix -Wmissing-prototypes warnings
Date: Wed, 22 Apr 2020 19:13:27 -0000 [thread overview]
Message-ID: <158758280764.28353.1786440205959432306.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20200402124307.10857-1-b.thiel@posteo.de>
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"
prev parent reply other threads:[~2020-04-22 19:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-02 12:43 [PATCH] " Benjamin Thiel
2020-04-22 19:13 ` tip-bot2 for Benjamin Thiel [this message]
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=158758280764.28353.1786440205959432306.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=b.thiel@posteo.de \
--cc=bp@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=x86@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
all inboxes | Powered by JetHome®