Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+4 -5
+4 -5
include/linux/tpm.h
··· 297 297 }; 298 298 } __packed; 299 299 300 - /* A string buffer type for constructing TPM commands. This is based on the 301 - * ideas of string buffer code in security/keys/trusted.h but is heap based 302 - * in order to keep the stack usage minimal. 303 - */ 304 - 305 300 enum tpm_buf_flags { 301 + /* the capacity exceeded: */ 306 302 TPM_BUF_OVERFLOW = BIT(0), 307 303 }; 308 304 305 + /* 306 + * A string buffer type for constructing TPM commands. 307 + */ 309 308 struct tpm_buf { 310 309 unsigned int flags; 311 310 u8 *data;