[U-Boot] [PATCH v4 11/32] tpm: add missing parameter in private data structure description

Miquel Raynal miquel.raynal at bootlin.com
Tue May 15 09:57:07 UTC 2018


Both parameters 'duration_ms' and 'retry_time_ms' of the tpm_chip_priv
structure are documented is the comment above the declaration but 'buf'
was forgotten. Add the missing description.

Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
---
 include/tpm-common.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/tpm-common.h b/include/tpm-common.h
index ecc7bc067a..6b15466781 100644
--- a/include/tpm-common.h
+++ b/include/tpm-common.h
@@ -36,6 +36,7 @@ enum tpm_duration {
  *
  * @duration_ms:	Length of each duration type in milliseconds
  * @retry_time_ms:	Time to wait before retrying receive
+ * @buf:		Buffer used during the exchanges with the chip
  */
 struct tpm_chip_priv {
 	uint duration_ms[TPM_DURATION_COUNT];
-- 
2.14.1



More information about the U-Boot mailing list