Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp816000imm; Wed, 19 Sep 2018 07:22:01 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb9c0CYGZ/8qNDuHnEb7sYK9oFJoPb31IaKQvgR5OZAOEEGiHvOw+0lmv2rDLcMuSqFwST2 X-Received: by 2002:a63:ff1f:: with SMTP id k31-v6mr31870411pgi.20.1537366921094; Wed, 19 Sep 2018 07:22:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537366921; cv=none; d=google.com; s=arc-20160816; b=gG5NBt5AQidhKZ5PjvP2SAaWPJipX+nQYk8ICf1w5+MF4eDBBZzBxqta0+VBIFfHWt SHYz8VTLKbtygtcgTsHrZHMbSHBM9JDLKAfkojE6AIKB4GYPVYuoVU/NEUx8J0HH23S3 ioGxIBZg/uXmMrsgA/uVE1lob/oylBLFz6jElyXjpAjg2kUHYcpGvcyD+TTzV9y59KLu f/TwjXCnUHpBDSc/8l527hYvj3nlbL1gSAFP4MsTNEBMO3PUJeWaWRxf3PpdYjM2FqrC aRtHptXIv9MicQBQYodLILmRJoYLtXnBktEx2oFOy3n/uEeB0GLUlu851CxawUbGh2q/ cCYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=M5j89b4nsFbRgcaAoZzyHy3UiO8SpqoffHdTsqSBAZY=; b=jThOSslkw5YTvCqWCqpBSweTJAkAR9K9TRXVsEsVR0ocotAen1cf3KMtJh2cFmzoa6 YrujVchuT4LkAwQ8m4oUs4t473AbejSzmGmfKLQdOtxkVuXykwqlalUzSVhdUYAq800y tbGMORuuKNTJnfFgX9doj9AkEndik8bd6eouTpDzH4iYLDFGad2yXTwDh4r9ZvtggMp5 BV4qeDpThqpsu3KyJQ4G4Hb5AOiWEswA2s1vLQx1wtL246jXP78DvpYFBsjZKU6w8AC6 QGB9ud0mySrxvq65DWeVgLGzT/yjcJio2wUEGrkhj13bws72rZldps/0Q9tOUFB5rKDL +gEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s71-v6si22542332pfa.367.2018.09.19.07.21.45; Wed, 19 Sep 2018 07:22:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731332AbeISToy (ORCPT + 99 others); Wed, 19 Sep 2018 15:44:54 -0400 Received: from mga01.intel.com ([192.55.52.88]:5523 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730876AbeISToy (ORCPT ); Wed, 19 Sep 2018 15:44:54 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2018 07:06:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,394,1531810800"; d="scan'208";a="258578703" Received: from pqueiros-mobl.ger.corp.intel.com (HELO localhost) ([10.249.37.13]) by orsmga005.jf.intel.com with ESMTP; 19 Sep 2018 07:06:35 -0700 Date: Wed, 19 Sep 2018 17:06:34 +0300 From: Jarkko Sakkinen To: Tomas Winkler Cc: Jason Gunthorpe , Alexander Usyskin , Tadeusz Struk , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 06/20] tpm: move tpm1_pcr_extend to tpm1-cmd.c Message-ID: <20180919140634.GA27854@linux.intel.com> References: <20180918093459.19165-1-tomas.winkler@intel.com> <20180918093459.19165-7-tomas.winkler@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180918093459.19165-7-tomas.winkler@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 18, 2018 at 12:34:45PM +0300, Tomas Winkler wrote: > Move tpm1_pcr_extend to tpm1-cmd.c and remove > unused pcrextend_header structure. > > Fixes warning: > drivers/char/tpm/tpm-interface.c:609:38: warning: ‘pcrextend_header’ defined but not used [-Wunused-const-variable=] > static const struct tpm_input_header pcrextend_header = { > ^~~~~~~~~~~~~~~~ > Signed-off-by: Tomas Winkler Reviewed-by: Jarkko Sakkinen Can someone with a working IMA environment to test it? Don't have one right now (should probably setup). /Jarkko