Re: [PATCH 1/2] tpm: don't return bool from update_timeouts

2019-01-31 Thread Jarkko Sakkinen
On Thu, Jan 31, 2019 at 06:06:45PM +0200, Jarkko Sakkinen wrote: > On Wed, Jan 30, 2019 at 03:06:58PM -0700, Jerry Snitselaar wrote: > > Set tpm_chip->timeouts_adjusted directly in the update_timeouts > > code instead of returning bool. In case of tpm read failing > > print warning that the read fa

Re: [PATCH 1/2] tpm: don't return bool from update_timeouts

2019-01-31 Thread Jarkko Sakkinen
On Wed, Jan 30, 2019 at 03:06:58PM -0700, Jerry Snitselaar wrote: > Set tpm_chip->timeouts_adjusted directly in the update_timeouts > code instead of returning bool. In case of tpm read failing > print warning that the read failed and continue on. > > Reviewed-by: Jarkko Sakkinen > Signed-off-by:

[PATCH 1/2] tpm: don't return bool from update_timeouts

2019-01-30 Thread Jerry Snitselaar
Set tpm_chip->timeouts_adjusted directly in the update_timeouts code instead of returning bool. In case of tpm read failing print warning that the read failed and continue on. Reviewed-by: Jarkko Sakkinen Signed-off-by: Jerry Snitselaar --- drivers/char/tpm/tpm1-cmd.c | 3 +-- drivers/char

[PATCH 1/2] tpm: don't return bool from update_timeouts

2019-01-30 Thread Jerry Snitselaar
Set tpm_chip->timeouts_adjusted directly in the update_timeouts code instead of returning bool. In case of tpm read failing print warning that the read failed and continue on. Reviewed-by: Jarkko Sakkinen Signed-off-by: Jerry Snitselaar --- drivers/char/tpm/tpm1-cmd.c | 3 +-- drivers/char