Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp709773imm; Mon, 1 Oct 2018 17:43:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV60vbtb+0lJIFe4Xab9+chzRcoIGnNXGhfcGonVkgUbd4Sy8NaywlS4MUkIHYpeO297hJ3qD X-Received: by 2002:a17:902:830b:: with SMTP id bd11-v6mr14067024plb.249.1538440995335; Mon, 01 Oct 2018 17:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538440995; cv=none; d=google.com; s=arc-20160816; b=vlSij8SL+Cjjabb01QM8zn25lOk44t5B2GXgKliKANVWEl2E1p/OGhn4pUgvlL5Yti WVFJvFaRsAb0iG0PTjneJR+LXzbWgXiOaWpJ9NvrQTOZLATRGPfG1xmaREP1H9H7XVqd lwlDLUSwM3QBOVFvl3grR/wogxN4dhvSwkeGdGU7pEWH0YM51OyLCq8wdVlvdW7ZUwX5 IpBG94FbdFuHP2qj2DIbDNwbiA3/hYcMNIG4Q/3CNiF1Ea/Ox/hSDTrpr9iGUG6EtPkB KE37C1idCOYVcIkRubVLYOGW8SOUa3h9FGHNyRRrK6+SmNAOAooWommZ/ZrU7BazfT5g 34Rw== 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=KMgTSsMHGlFcXTEF7b8Vr2pUmGbXsdvqLEmXCNjPV74=; b=Yi3MJUox8kOeAEXfBldPUzmo1lJ0OX+KGIUOOUZD8svQ/FgeQXUwfAr+opcWnoYiHS chWLMuji05suN6tjNhdBo1qnj+KHMrjF44zE65+0ipdZJcqiO8S7ADG4Hb/Ms8aEcZag pa/liJQQxBkjAWqv4zmT/Y9qkC2eGreadmPtqGlgbA73woQg4Jk5rsjxx0wbTJqLFX26 uovBvKLXVNmo47Nofe7kSerH4bDA9ijB3jy6gT8awQ0Ng7g+UWAWf+o57eaMrJP4Zlva FsfP6IaimnvbmrpdqwytCn2XiwSlXCZEmCAwtH8+sipR+KJCtJAgBbzu8NTJiALsOyNg IVig== 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 n4-v6si4713872plp.380.2018.10.01.17.43.00; Mon, 01 Oct 2018 17:43:15 -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 S1726459AbeJBHXU (ORCPT + 99 others); Tue, 2 Oct 2018 03:23:20 -0400 Received: from mga03.intel.com ([134.134.136.65]:7279 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbeJBHXU (ORCPT ); Tue, 2 Oct 2018 03:23:20 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Oct 2018 17:42:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,329,1534834800"; d="scan'208";a="77696013" Received: from hubermic-mobl.ger.corp.intel.com (HELO localhost) ([10.252.54.31]) by orsmga007.jf.intel.com with ESMTP; 01 Oct 2018 17:42:49 -0700 Date: Tue, 2 Oct 2018 03:42:48 +0300 From: Jarkko Sakkinen To: Tomas Winkler Cc: Jason Gunthorpe , Nayna Jain , Alexander Usyskin , Tadeusz Struk , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 06/21] tpm: move tpm1_pcr_extend to tpm1-cmd.c Message-ID: <20181002004248.GC23753@linux.intel.com> References: <20180928223035.14471-1-tomas.winkler@intel.com> <20180928223035.14471-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: <20180928223035.14471-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 Sat, Sep 29, 2018 at 01:30:20AM +0300, Tomas Winkler wrote: > Move tpm1_pcr_extend to tpm1-cmd.c and remove > unused pcrextend_header structure and > EXTEND_PCR_RESULT_SIZE and EXTEND_PCR_RESULT_BODY_SIZE > defines. > > 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 Would need help with this from someone with a working IMA setup on testing. /Jarkko