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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 31 Dec 2017 20:37:10 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Timofey Titovets <nefelim4ag@...il.com>
Cc:     kbuild-all@...org, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
        Timofey Titovets <nefelim4ag@...il.com>,
        leesioh <solee@...korea.ac.kr>,
        Andrea Arcangeli <aarcange@...hat.com>
Subject: [RFC PATCH] ksm: fasthash() can be static


Fixes: 038adb295b0c ("ksm: replace jhash2 with faster hash")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
 ksm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/ksm.c b/mm/ksm.c
index ac2aa49..1c2619cbc3 100644
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -374,7 +374,7 @@ static void __init choice_fastest_hash(void)
 	kfree(page);
 }
 
-unsigned long fasthash(const void *input, size_t length)
+static unsigned long fasthash(const void *input, size_t length)
 {
 	unsigned long checksum = 0;
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ