Re: [PATCH] tpm: make check_locality return bool

From: Jarkko Sakkinen
Date: Wed Mar 22 2017 - 07:25:09 EST


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 <christophe.ricard@xxxxxxxxx>
> Cc: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx>
> Cc: Marcel Selhorst <tpmdd@xxxxxxxxxxxx>
> Cc: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
> Cc: Peter Huewe <peterhuewe@xxxxxx>
> Signed-off-by: Jerry Snitselaar <jsnitsel@xxxxxxxxxx>
> ---
> Tested tpm_tis, but don't have the ability to
> test Infineon or STMicro drivers.

Thanks.

Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
(with a TPM 1.2 chip on Dell E6400 laptop)

/Jarkko