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@xxxxxxxxxxxxxxx> > Signed-off-by: Sumit Garg <sumit.garg@xxxxxxxxxx> 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. 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