Re: [PATCH 07/11] tpm: Reduce duplication in a few functions

2021-01-19 Thread Ilias Apalodimas
Hi Simon, On Sat, Jan 16, 2021 at 02:51:34PM -0700, Simon Glass wrote: > Update tpm2_clear() and tpm2_pcr_extend() so that the command size > is not repeated twice. Add a small comment to the latter. > > Signed-off-by: Simon Glass > --- > > lib/tpm-v2.c | 11 ++- > 1 file changed, 6 i

[PATCH 07/11] tpm: Reduce duplication in a few functions

2021-01-16 Thread Simon Glass
Update tpm2_clear() and tpm2_pcr_extend() so that the command size is not repeated twice. Add a small comment to the latter. Signed-off-by: Simon Glass --- lib/tpm-v2.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/tpm-v2.c b/lib/tpm-v2.c index 1f3deb06e48.