From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752187AbeCMRmy (ORCPT ); Tue, 13 Mar 2018 13:42:54 -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 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,465,1515484800"; d="scan'208";a="38494220" 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-Type: text/plain; charset=us-ascii 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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