From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarkko Sakkinen Subject: Re: [PATCH RESEND 1/3] tpm: define a generic open() method for ascii & bios measurements Date: Sat, 8 Oct 2016 13:56:44 +0300 Message-ID: <20161008105644.GA7351@intel.com> References: <1475349926-476-1-git-send-email-jarkko.sakkinen@linux.intel.com> <1475349926-476-2-git-send-email-jarkko.sakkinen@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1475349926-476-2-git-send-email-jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Peter Huewe Cc: "moderated list:TPM DEVICE DRIVER" , open list List-Id: tpmdd-devel@lists.sourceforge.net On Sat, Oct 01, 2016 at 10:25:24PM +0300, Jarkko Sakkinen wrote: > From: Nayna Jain > > open() method for event log ascii and binary bios measurements file > operations are very similar. This patch refactors the code into a > single open() call by passing seq_operations as i_node->private data. > > Suggested-by: Jason Gunthorpe > Signed-off-by: Nayna Jain > Reviewed-by: Jarkko Sakkinen > Reviewed-by: Jason Gunthorpe Tested-by: Jarkko Sakkinen /Jarkko ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot