Re: [PATCH v5 06/21] tpm: move tpm1_pcr_extend to tpm1-cmd.c

From: Nayna Jain
Date: Tue Oct 02 2018 - 05:31:08 EST




On 10/02/2018 06:12 AM, Jarkko Sakkinen wrote:
On Sat, Sep 29, 2018 at 01:30:20AM +0300, Tomas Winkler wrote:
Move tpm1_pcr_extend to tpm1-cmd.c and remove
unused pcrextend_header structure and
EXTEND_PCR_RESULT_SIZE and EXTEND_PCR_RESULT_BODY_SIZE
defines.

Fixes warning:
drivers/char/tpm/tpm-interface.c:609:38: warning: âpcrextend_headerâ defined but not used [-Wunused-const-variable=]
static const struct tpm_input_header pcrextend_header = {
^~~~~~~~~~~~~~~~

Signed-off-by: Tomas Winkler <tomas.winkler@xxxxxxxxx>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
Would need help with this from someone with a working IMA setup
on testing.


My test system is down for now.. I think it will be up later in this week. I can test it then.

Thanks & Regards,
ÂÂÂ - Nayna



/Jarkko