Re: [PATCH v3 1/2] tpm: Fix error handling in async work
From: Tadeusz Struk
Date: Wed Jan 12 2022 - 13:47:54 EST
On 1/12/22 10:35, Jarkko Sakkinen wrote:
These look good to me! Thank you. I'm in process of compiling a test
kernel.
Thanks Jarkko,
You can run the new test before and after applying the change and see
how it behaves. Also just noticed a mistake in the comment, sorry but
it was quite late when I sent it.
+ /*
+ * If ret is > 0 then tpm_dev_transmit returned the size of the
+ * response. If ret is < 0 then tpm_dev_transmit failed and
+ * returned a return code.
+ */
In the above could you please replace:
s/returned a return code/returned an error code/
before applying the patch. I would appreciate that.
--
Thanks,
Tadeusz