From patchwork Sun Dec 31 12:37:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10138137 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B60BB603EE for ; Sun, 31 Dec 2017 12:38:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A12CE2871C for ; Sun, 31 Dec 2017 12:38:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9555D287E6; Sun, 31 Dec 2017 12:38:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 61B452871C for ; Sun, 31 Dec 2017 12:38:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751209AbdLaMiI (ORCPT ); Sun, 31 Dec 2017 07:38:08 -0500 Received: from mga01.intel.com ([192.55.52.88]:54676 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751022AbdLaMiG (ORCPT ); Sun, 31 Dec 2017 07:38:06 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Dec 2017 04:38:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,486,1508828400"; d="scan'208";a="23048467" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 31 Dec 2017 04:38:04 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1eVcyX-000Bg9-HZ; Sun, 31 Dec 2017 20:44:25 +0800 Date: Sun, 31 Dec 2017 20:37:10 +0800 From: kbuild test robot To: Timofey Titovets Cc: kbuild-all@01.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Timofey Titovets , leesioh , Andrea Arcangeli Subject: [RFC PATCH] ksm: fasthash() can be static Message-ID: <20171231123710.GA117422@lkp-hsx03> References: <20171229095241.23345-1-nefelim4ag@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20171229095241.23345-1-nefelim4ag@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 038adb295b0c ("ksm: replace jhash2 with faster hash") Signed-off-by: Fengguang Wu --- 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;