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

From: Stefan Berger
Date: Tue Dec 22 2020 - 08:39:06 EST


On 11/25/20 10:35 PM, Jarkko Sakkinen wrote:
On Tue, 2020-11-24 at 21:52 +0800, Wang Hai wrote:
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: d8d74ea3c002 ("tpm: ibmvtpm: Wait for buffer to be set before
proceeding")
Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
Provide a reasoning for -ETIMEOUT in the commit message.

/Jarkko


Was this patch ever applied? I don't seem to find the infradead git tree ...