On Mon, 19 Aug 2019 at 22:26, Jarkko Sakkinen jarkko.sakkinen@linux.intel.com wrote:
On Tue, Aug 13, 2019 at 01:23:00PM +0530, Sumit Garg wrote:
Move tpm_buf code to common include/linux/tpm.h header so that it can be reused via other subsystems like trusted keys etc.
Also rename trusted keys TPM 1.x buffer implementation to tpm1_buf to avoid any compilation errors.
Suggested-by: Jarkko Sakkinen jarkko.sakkinen@linux.intel.com Signed-off-by: Sumit Garg sumit.garg@linaro.org
A question: did you try to do this as mechanically as you ever could or did you do any other code changes? I did go through it but it is possible that I missed something.
There aren't any other code changes apart from "tpm1_buf" rename.
-Sumit
In this type of changes it is mandatory be extra strict on not doing anything extra (the rename you would was not of course extra because it was necessary to do).
/Jarkko