diff options
author | Jarkko Sakkinen <jarkko@kernel.org> | 2024-04-29 23:27:53 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2024-05-09 22:30:51 +0300 |
commit | 37e2ee16d67d17926085cbd0500dd78ca747e59c (patch) | |
tree | f80ff28fc35baa35905f90973c487d2e6724479a /include/linux | |
parent | 17d89b2e2f76e8ae129467665ea7462401f37aa4 (diff) | |
download | linux-37e2ee16d67d17926085cbd0500dd78ca747e59c.tar.xz |
tpm: Update struct tpm_buf documentation comments
Remove deprecated portions and document enum values.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Tested-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/tpm.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/tpm.h b/include/linux/tpm.h index bb0e8718a432..0a8c1351adc2 100644 --- a/include/linux/tpm.h +++ b/include/linux/tpm.h @@ -297,15 +297,14 @@ struct tpm_header { }; } __packed; -/* A string buffer type for constructing TPM commands. This is based on the - * ideas of string buffer code in security/keys/trusted.h but is heap based - * in order to keep the stack usage minimal. - */ - enum tpm_buf_flags { + /* the capacity exceeded: */ TPM_BUF_OVERFLOW = BIT(0), }; +/* + * A string buffer type for constructing TPM commands. + */ struct tpm_buf { unsigned int flags; u8 *data; |