From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1036195AbdEXW2f (ORCPT ); Wed, 24 May 2017 18:28:35 -0400 Received: from mga05.intel.com ([192.55.52.43]:6093 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032359AbdEXW2b (ORCPT ); Wed, 24 May 2017 18:28:31 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,388,1491289200"; d="scan'208";a="972723127" Date: Wed, 24 May 2017 15:28:22 -0700 From: Jarkko Sakkinen To: tpmdd-devel@lists.sourceforge.net, jmorris@namei.org Cc: linux-security-module@vger.kernel.org, Peter Huewe , Marcel Selhorst , Jason Gunthorpe , open list Subject: Re: [PATCH] tpm: remove struct tpm_pcrextend_in Message-ID: <20170524222822.bk2popwamuo7ee3o@intel.com> References: <20170524222731.19741-1-jarkko.sakkinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170524222731.19741-1-jarkko.sakkinen@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 24, 2017 at 03:27:31PM -0700, Jarkko Sakkinen wrote: > Removed struct tpm_pcrextend_in as it is not used for anything anymore. > > Signed-off-by: Jarkko Sakkinen Another bit of code that I just push. /Jarkko > --- > drivers/char/tpm/tpm.h | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h > index dd1173427fb2..af05c1403c6e 100644 > --- a/drivers/char/tpm/tpm.h > +++ b/drivers/char/tpm/tpm.h > @@ -363,11 +363,6 @@ struct tpm_pcrread_in { > __be32 pcr_idx; > } __packed; > > -struct tpm_pcrextend_in { > - __be32 pcr_idx; > - u8 hash[TPM_DIGEST_SIZE]; > -} __packed; > - > /* 128 bytes is an arbitrary cap. This could be as large as TPM_BUFSIZE - 18 > * bytes, but 128 is still a relatively large number of random bytes and > * anything much bigger causes users of struct tpm_cmd_t to start getting > @@ -392,7 +387,6 @@ typedef union { > u8 readpubek_out_buffer[sizeof(struct tpm_readpubek_params_out)]; > struct tpm_pcrread_in pcrread_in; > struct tpm_pcrread_out pcrread_out; > - struct tpm_pcrextend_in pcrextend_in; > struct tpm_getrandom_in getrandom_in; > struct tpm_getrandom_out getrandom_out; > struct tpm_startup_in startup_in; > -- > 2.11.0 >