tpm: fix kdoc for tpm2_flush_context_cmd()
diff mbox series

Message ID 20181017171331.13393-1-tomas.winkler@intel.com
State New
Headers show
Series
  • tpm: fix kdoc for tpm2_flush_context_cmd()
Related show

Commit Message

Winkler, Tomas Oct. 17, 2018, 5:13 p.m. UTC
kdoc for tpm2_flush_context_cmd() was off.

Fixes: commit 9aa36b399a50 ("tpm: export tpm2_flush_context_cmd")'
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
---
 drivers/char/tpm/tpm2-cmd.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

Jarkko Sakkinen Oct. 19, 2018, 11:25 p.m. UTC | #1
On Wed, 17 Oct 2018, Tomas Winkler wrote:
> kdoc for tpm2_flush_context_cmd() was off.
>
> Fixes: commit 9aa36b399a50 ("tpm: export tpm2_flush_context_cmd")'

Shouldn't this be just Fixes: <commit ID>?

/Jarkko

Patch
diff mbox series

diff --git a/drivers/char/tpm/tpm2-cmd.c b/drivers/char/tpm/tpm2-cmd.c
index 3acf4fd4e5a5..26cc31451290 100644
--- a/drivers/char/tpm/tpm2-cmd.c
+++ b/drivers/char/tpm/tpm2-cmd.c
@@ -352,10 +352,9 @@  int tpm2_get_random(struct tpm_chip *chip, u8 *dest, size_t max)
 /**
  * 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
+ * @handle: context handle
+ * @flags: tpm transmit flags - bitmap
  *
- * Return: same as with tpm_transmit_cmd
  */
 void tpm2_flush_context_cmd(struct tpm_chip *chip, u32 handle,
 			    unsigned int flags)