Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp866413imm; Wed, 19 Sep 2018 08:08:20 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbasj2KRWXJl9CRCaxWo390gYUF+qBD3mlKJBMFDCZTkFn5FrIqaMhpubjxeG58rgNC/e8e X-Received: by 2002:a62:174a:: with SMTP id 71-v6mr37077567pfx.217.1537369700910; Wed, 19 Sep 2018 08:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537369700; cv=none; d=google.com; s=arc-20160816; b=wOOt7bAuWu2CEquo+OdKSSt6s3L82gcH6lYnMbou7mrIoDvG8e+OpBalOTwo5kI2Xc a69tz9gGlEk0nMii0ZuFYMf+Tc+Q70dlQQ2tUr7tMe7JOGRdKehW0KBymVsNxBixBZDO Oce74LAiRIvYzssRqLczeibLB0Snrs5eqxaV5Er6RP7FSw8cr8L3VqkRbJ4VLal9jMJ/ tMKZqNs43M+bMOC5J/6WTpZQtVCjR8mlBC7qidENtBmsV8aSIF+Gpmy2I0qorPsNVYOI hy6619rk9oF6l8gSjjgLAgqzfUVgAZFtc2rA5TOjVkxQ17U0bIuTmbWeQI1KIaUOZuM8 iTaA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xbGDE1Q1c7MbtKmKYNvzKfHogByyjsunyyvLfJroG6c=; b=upee1p0QgpLSgfZiciF1lhlnWzbcZ1RaWeTBEn51ASovQgRBm0uO6l8uUO0teImyKr OyHAr08T9y4AOR0pHlXxl9bZ5yDQNJep3Gmnf1IAaVoYBGC+KDgsH1qPKNNPx3TZCY6+ p3ibsd3HY3bebaTUSMXm/m889oaLXXLYdd2TZpmiBSwIatX0MeyY+WGbGMHf3m9rWCTd QQys4vXhXhlSS0CX+OEVU1sJANIvkNxrblWyMKwDgTBOi41NB2cfc/RaXByzV3aPNazj CUOSOOcwl+Cu6mjRUiyqSQBrr7VcU+LvF5QCAoFnaTmqvL9ANoM6pcstnMOTjP0xtU85 PLmg== 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 b8-v6si21475162ple.171.2018.09.19.08.08.05; Wed, 19 Sep 2018 08:08:20 -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 S1732286AbeISUpk (ORCPT + 99 others); Wed, 19 Sep 2018 16:45:40 -0400 Received: from mga01.intel.com ([192.55.52.88]:13544 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731253AbeISUpk (ORCPT ); Wed, 19 Sep 2018 16:45:40 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2018 08:07:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,394,1531810800"; d="scan'208";a="84861608" Received: from pqueiros-mobl.ger.corp.intel.com (HELO localhost) ([10.249.37.13]) by orsmga003.jf.intel.com with ESMTP; 19 Sep 2018 08:07:07 -0700 Date: Wed, 19 Sep 2018 18:07:06 +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 11/20] tpm: factor out tpm_startup function Message-ID: <20180919150706.GE31076@linux.intel.com> References: <20180918093459.19165-1-tomas.winkler@intel.com> <20180918093459.19165-12-tomas.winkler@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180918093459.19165-12-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:50PM +0300, Tomas Winkler wrote: > tpm manual startup is used only from within tpm1 or tpm2 > code, hence remove tpm_startup function from tpm-interface.c > and add two static functions implementations tpm1_startup > and tpm2_startup into to tpm1-cmd.c and tpm2-cmd.c respectively. > > Signed-off-by: Tomas Winkler Again, language in the commit message. For example, I guess usually we write abbrevation "TPM" and not "tpm". Tested-by: Jarkko Sakkine /Jarkko