Re: [PATCH 2/6] tpm: export tpm2_flush_context_cmd

From: Jason Gunthorpe
Date: Wed Feb 08 2017 - 13:01:40 EST


> /**
> + * tpm2_flush_context_cmd() - execute a TPM2_FlushContext command
> + * @chip: TPM chip to use
> + * @payload: the key data in clear and encrypted form
> + * @options: authentication values and other options
> + *
> + * Return: same as with tpm_transmit_cmd
> + */
> +void tpm2_flush_context_cmd(struct tpm_chip *chip, u32 handle,
> + unsigned int flags)

Why did you move the function in the same file? Adding a prototype
shouldn't require that..

Jason