From patchwork Tue Mar 13 17:42:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10280297 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 B98156038F for ; Tue, 13 Mar 2018 17:43:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB05928A3F for ; Tue, 13 Mar 2018 17:43:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E16D28AFE; Tue, 13 Mar 2018 17:43:19 +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 32F0628A3F for ; Tue, 13 Mar 2018 17:43:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751362AbeCMRmx (ORCPT ); Tue, 13 Mar 2018 13:42:53 -0400 Received: from mga11.intel.com ([192.55.52.93]:27928 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751955AbeCMRmo (ORCPT ); Tue, 13 Mar 2018 13:42:44 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2018 10:42:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,465,1515484800"; d="scan'208";a="38494220" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga001.jf.intel.com with ESMTP; 13 Mar 2018 10:42:42 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1evnvY-000GpY-KF; Wed, 14 Mar 2018 01:41:32 +0800 Date: Wed, 14 Mar 2018 01:42:24 +0800 From: kbuild test robot To: =?iso-8859-1?Q?Hern=E1n?= Gonzalez Cc: kbuild-all@01.org, Mimi Zohar , James Morris , "Serge E. Hallyn" , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH linux-next] evm: evm_hmac can be static Message-ID: <20180313174224.GA28779@intel17> References: <201803140150.bfjQDiL5%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201803140150.bfjQDiL5%fengguang.wu@intel.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: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: c49fc264be98 ("evm: Move evm_hmac and evm_hash from evm_main.c to evm_crypto.c") Signed-off-by: Fengguang Wu --- evm_crypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/integrity/evm/evm_crypto.c b/security/integrity/evm/evm_crypto.c index fdde9cb..a46fba3 100644 --- a/security/integrity/evm/evm_crypto.c +++ b/security/integrity/evm/evm_crypto.c @@ -37,8 +37,8 @@ static DEFINE_MUTEX(mutex); static unsigned long evm_set_key_flags; -char * const evm_hmac = "hmac(sha1)"; -char * const evm_hash = "sha1"; +static char * const evm_hmac = "hmac(sha1)"; +static char * const evm_hash = "sha1"; /** * evm_set_key() - set EVM HMAC key from the kernel