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

From: Nayna Jain
Date: Tue Sep 25 2018 - 12:28:34 EST




On 09/19/2018 07:36 PM, Jarkko Sakkinen wrote:
On Tue, Sep 18, 2018 at 12:34:45PM +0300, Tomas Winkler wrote:
Move tpm1_pcr_extend to tpm1-cmd.c and remove
unused pcrextend_header structure.

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>

Can someone with a working IMA environment to test it? Don't have one
right now (should probably setup).

I think I can try testing this patch sometime next week. I will test the updated version.

Thanks & Regards,
ÂÂÂ - Nayna


/Jarkko