[PATCH v2] tpm: ibmvtpm: fix error return code in tpm_ibmvtpm_probe()

Jarkko Sakkinen jarkko at kernel.org
Sun Jan 31 08:14:34 AEDT 2021


On Fri, 2021-01-29 at 13:57 -0500, Stefan Berger wrote:
> On 1/29/21 12:35 PM, Jarkko Sakkinen wrote:
> > On Mon, Jan 25, 2021 at 08:47:53PM -0500, Stefan Berger wrote:
> > > From: Stefan Berger <stefanb at linux.ibm.com>
> > > 
> > > Return error code -ETIMEDOUT rather than '0' when waiting for the
> > > rtce_buf to be set has timed out.
> > > 
> > > Fixes: d8d74ea3c002 ("tpm: ibmvtpm: Wait for buffer to be set before proceeding")
> > > Reported-by: Hulk Robot <hulkci at huawei.com>
> > > Signed-off-by: Wang Hai <wanghai38 at huawei.com>
> > > Signed-off-by: Stefan Berger <stefanb at linux.ibm.com>
> > > ---
> > Reviewed-by: Jarkko Sakkinen <jarkko at kernel.org>
> > 
> > Thanks! Should I add
> > 
> > Cc: stable at vger.kernel.org to this?
> 
> Yes, that would be good! Thank you!


OK, it's applied.


>     Stefan

/Jarkko


More information about the Linuxppc-dev mailing list