linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Timofey Titovets <nefelim4ag@gmail.com>
Cc: kbuild-all@01.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
	leesioh <solee@os.korea.ac.kr>,
	Andrea Arcangeli <aarcange@redhat.com>
Subject: [RFC PATCH] ksm: fasthash() can be static
Date: Sun, 31 Dec 2017 20:37:10 +0800	[thread overview]
Message-ID: <20171231123710.GA117422@lkp-hsx03> (raw)
In-Reply-To: <20171229095241.23345-1-nefelim4ag@gmail.com>


Fixes: 038adb295b0c ("ksm: replace jhash2 with faster hash")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.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;
 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      parent reply	other threads:[~2017-12-31 12:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-29  9:52 [PATCH v2] ksm: replace jhash2 with faster hash Timofey Titovets
2017-12-30 21:27 ` Timofey Titovets
2017-12-31  0:07   ` sioh Lee
2017-12-31  1:30     ` Timofey Titovets
2017-12-31 12:37 ` kbuild test robot
2017-12-31 12:37 ` kbuild test robot [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=20171231123710.GA117422@lkp-hsx03 \
    --to=lkp@intel.com \
    --cc=aarcange@redhat.com \
    --cc=kbuild-all@01.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=nefelim4ag@gmail.com \
    --cc=solee@os.korea.ac.kr \
    /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