From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752603AbeCEOjV (ORCPT ); Mon, 5 Mar 2018 09:39:21 -0500 Received: from mga01.intel.com ([192.55.52.88]:42732 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932093AbeCEOjO (ORCPT ); Mon, 5 Mar 2018 09:39:14 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,427,1515484800"; d="scan'208";a="36051282" From: Jarkko Sakkinen To: linux-integrity@vger.kernel.org Cc: linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, Jarkko Sakkinen , Jason Gunthorpe , linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 0/5] Migrate all TPM 2.0 commands to use struct tpm_buf Date: Mon, 5 Mar 2018 16:38:58 +0200 Message-Id: <20180305143904.7477-1-jarkko.sakkinen@linux.intel.com> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2: * Fixed author information in the commit that fixes the self-test issue, removed '\n' from the log message and added the missing tested-by. (James: sincere apologies about this) * Removed the redundant "out of memory" log message from tpm2_shutdown(). * tpm_buf_destroy() was called before using the response data in tpm2_probe(). * Added missing tpm_buf_destroy() to tpm2_get_random(). James Bottomley (1): tpm: fix intermittent failure with self tests Jarkko Sakkinen (4): tpm: migrate tpm2_shutdown() to use struct tpm_buf tpm: migrate tpm2_probe() to use struct tpm_buf tpm: migrate tpm2_get_tpm_pt() to use struct tpm_buf tpm: migrate tpm2_get_random() to use struct tpm_buf drivers/char/tpm/tpm-interface.c | 20 ++- drivers/char/tpm/tpm.h | 20 +-- drivers/char/tpm/tpm2-cmd.c | 281 ++++++++++++++------------------------- 3 files changed, 128 insertions(+), 193 deletions(-) -- 2.15.1