summaryrefslogtreecommitdiff
path: root/lib/tpm-utils.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-01-20 09:39:45 -0500
committerTom Rini <trini@konsulko.com>2022-01-20 09:39:45 -0500
commit280db76f1526c2e3657c013ab679a120eed8e6b7 (patch)
tree7843623ac19ed2d714792236b2be748270986f9c /lib/tpm-utils.h
parent068415eadefbbc81f14d4ce61fcf7a7eb39650d4 (diff)
parent185f812c419f1b4f0d10d9787d59cf9f11a2a600 (diff)
Merge tag 'doc-2022-04-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request doc-2022-04-rc1 Replace @return by Return: in code comments.
Diffstat (limited to 'lib/tpm-utils.h')
-rw-r--r--lib/tpm-utils.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/tpm-utils.h b/lib/tpm-utils.h
index d680d140884..a519e182353 100644
--- a/lib/tpm-utils.h
+++ b/lib/tpm-utils.h
@@ -31,7 +31,7 @@
* @param size size of output string
* @param format format string
* @param ... data points
- * @return 0 on success, non-0 on error
+ * Return: 0 on success, non-0 on error
*/
int pack_byte_string(u8 *str, size_t size, const char *format, ...);
@@ -46,7 +46,7 @@ int pack_byte_string(u8 *str, size_t size, const char *format, ...);
* @param size size of output string
* @param format format string
* @param ... data points
- * @return 0 on success, non-0 on error
+ * Return: 0 on success, non-0 on error
*/
int unpack_byte_string(const u8 *str, size_t size, const char *format, ...);
@@ -54,7 +54,7 @@ int unpack_byte_string(const u8 *str, size_t size, const char *format, ...);
* Get TPM command size.
*
* @param command byte string of TPM command
- * @return command size of the TPM command
+ * Return: command size of the TPM command
*/
u32 tpm_command_size(const void *command);
@@ -62,7 +62,7 @@ u32 tpm_command_size(const void *command);
* Get TPM response return code, which is one of TPM_RESULT values.
*
* @param response byte string of TPM response
- * @return return code of the TPM response
+ * Return: return code of the TPM response
*/
u32 tpm_return_code(const void *response);
@@ -76,7 +76,7 @@ u32 tpm_return_code(const void *response);
* @param size_ptr output buffer size (input parameter) and TPM
* response length (output parameter); this parameter
* is a bidirectional
- * @return return code of the TPM response
+ * Return: return code of the TPM response
*/
u32 tpm_sendrecv_command(struct udevice *dev, const void *command,
void *response, size_t *size_ptr);