From: zhangjinghai99@gmail.com
To: linux@armlinux.org.uk, akpm@linux-foundation.org,
rppt@linux.ibm.com, vladimir.murzin@arm.com, tglx@linutronix.de,
ebiederm@xmission.com, f.fainelli@gmail.com
Cc: 21cnbao@gmail.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
JingHai Zhang <zhangjinghai99@gmail.com>
Subject: [PATCH v1] arm: mm: make arch_mmap_rnd() static
Date: Fri, 7 Jun 2019 06:58:15 -0700 [thread overview]
Message-ID: <20190607135815.43418-1-zhangjinghai99@gmail.com> (raw)
From: JingHai Zhang <zhangjinghai99@gmail.com>
arch_mmap_rnd() is only used in mmap.c, make it static.
Signed-off-by: JingHai Zhang <zhangjinghai99@gmail.com>
---
arch/arm/mm/mmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c
index f866870db749..0a7a046fcd90 100644
--- a/arch/arm/mm/mmap.c
+++ b/arch/arm/mm/mmap.c
@@ -171,7 +171,7 @@ arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
return addr;
}
-unsigned long arch_mmap_rnd(void)
+static unsigned long arch_mmap_rnd(void)
{
unsigned long rnd;
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
reply other threads:[~2019-06-07 13:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20190607135815.43418-1-zhangjinghai99@gmail.com \
--to=zhangjinghai99@gmail.com \
--cc=21cnbao@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=ebiederm@xmission.com \
--cc=f.fainelli@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=rppt@linux.ibm.com \
--cc=tglx@linutronix.de \
--cc=vladimir.murzin@arm.com \
/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;
as well as URLs for NNTP newsgroup(s).