Searched hist:"3 d785d73b4c1014839d9f9af0ee526f8d5706a73" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_tis_i2c_cr50.c | diff 3d785d73b4c1014839d9f9af0ee526f8d5706a73 Thu Apr 08 20:12:01 CDT 2021 Zhihao Cheng <chengzhihao1@huawei.com> char: tpm: fix error return code in tpm_cr50_i2c_tis_recv()
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function.
Fixes: 3a253caaad11 ("char: tpm: add i2c driver for cr50") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
|