lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190607135815.43418-1-zhangjinghai99@gmail.com>
Date:   Fri,  7 Jun 2019 06:58:15 -0700
From:   zhangjinghai99@...il.com
To:     linux@...linux.org.uk, akpm@...ux-foundation.org,
        rppt@...ux.ibm.com, vladimir.murzin@....com, tglx@...utronix.de,
        ebiederm@...ssion.com, f.fainelli@...il.com
Cc:     linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        21cnbao@...il.com, JingHai Zhang <zhangjinghai99@...il.com>
Subject: [PATCH v1] arm: mm: make arch_mmap_rnd() static

From: JingHai Zhang <zhangjinghai99@...il.com>

arch_mmap_rnd() is only used in mmap.c, make it static.

Signed-off-by: JingHai Zhang <zhangjinghai99@...il.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ