Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751290AbcJAMpE (ORCPT ); Sat, 1 Oct 2016 08:45:04 -0400 Received: from mga11.intel.com ([192.55.52.93]:15290 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750771AbcJAMo4 (ORCPT ); Sat, 1 Oct 2016 08:44:56 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,426,1473145200"; d="scan'208";a="767856579" Date: Sat, 1 Oct 2016 15:44:56 +0300 From: Jarkko Sakkinen To: Peter Huewe Cc: Jason Gunthorpe , open list , "moderated list:TPM DEVICE DRIVER" Subject: Re: [PATCH 0/2] Clean up handling of event log files Message-ID: <20161001124456.GA25373@intel.com> References: <1475325678-16573-1-git-send-email-jarkko.sakkinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1475325678-16573-1-git-send-email-jarkko.sakkinen@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 776 Lines: 25 Please ignore this version. I was going to do a '--dry-run'. Sorry :( Doing resend later on once I've tested the changes. /Jarkko On Sat, Oct 01, 2016 at 03:41:15PM +0300, Jarkko Sakkinen wrote: > Meld a common function for opening measurements files and keep the > dentries in a static array. > > Jarkko Sakkinen (1): > tpm: replace dynamically allocated bios_dir with a static array > > Nayna Jain (1): > tpm: define a generic open() method for ascii & bios measurements > > drivers/char/tpm/tpm-chip.c | 9 +-- > drivers/char/tpm/tpm.h | 3 +- > drivers/char/tpm/tpm_eventlog.c | 123 ++++++++++++++-------------------------- > drivers/char/tpm/tpm_eventlog.h | 10 ++-- > 4 files changed, 55 insertions(+), 90 deletions(-) > > -- > 2.7.4 >