Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759255AbdCVLZI (ORCPT ); Wed, 22 Mar 2017 07:25:08 -0400 Received: from mga06.intel.com ([134.134.136.31]:21786 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751328AbdCVLZA (ORCPT ); Wed, 22 Mar 2017 07:25:00 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,204,1486454400"; d="scan'208";a="1125732283" Date: Wed, 22 Mar 2017 13:24:54 +0200 From: Jarkko Sakkinen To: Jerry Snitselaar Cc: tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Christophe Ricard , Jason Gunthorpe , Marcel Selhorst , Peter Huewe Subject: Re: [PATCH] tpm: make check_locality return bool Message-ID: <20170322112454.3bcdbqoxrxy4kfev@intel.com> References: <20170318085957.12277-1-jsnitsel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170318085957.12277-1-jsnitsel@redhat.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 774 Lines: 22 On Sat, Mar 18, 2017 at 01:59:57AM -0700, Jerry Snitselaar wrote: > Since check_locality is checking to see if a certain > locality is active, return true if active otherwise > return false. > > Cc: Christophe Ricard > Cc: Jason Gunthorpe > Cc: Marcel Selhorst > Cc: Jarkko Sakkinen > Cc: Peter Huewe > Signed-off-by: Jerry Snitselaar > --- > Tested tpm_tis, but don't have the ability to > test Infineon or STMicro drivers. Thanks. Reviewed-by: Jarkko Sakkinen Tested-by: Jarkko Sakkinen (with a TPM 1.2 chip on Dell E6400 laptop) /Jarkko