Commit 52da18a3 authored by Miquel Raynal's avatar Miquel Raynal Committed by Tom Rini
Browse files

tpm: fix spelling



Fix following checkpatch.pl issues in TPM-related code:

    CHECK: '<x>' may be misspelled - perhaps '<y>'?
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent fded837f
...@@ -508,7 +508,7 @@ u32 tpm_tsc_physical_presence(u16 presence); ...@@ -508,7 +508,7 @@ u32 tpm_tsc_physical_presence(u16 presence);
* Issue a TPM_ReadPubek command. * Issue a TPM_ReadPubek command.
* *
* @param data output buffer for the public endorsement key * @param data output buffer for the public endorsement key
* @param count size of ouput buffer * @param count size of output buffer
* @return return code of the operation * @return return code of the operation
*/ */
u32 tpm_read_pubek(void *data, size_t count); u32 tpm_read_pubek(void *data, size_t count);
...@@ -550,13 +550,13 @@ u32 tpm_physical_set_deactivated(u8 state); ...@@ -550,13 +550,13 @@ u32 tpm_physical_set_deactivated(u8 state);
* @param sub_cap further definition of capability, which is * @param sub_cap further definition of capability, which is
* limited to be 4-byte wide * limited to be 4-byte wide
* @param cap output buffer for capability information * @param cap output buffer for capability information
* @param count size of ouput buffer * @param count size of output buffer
* @return return code of the operation * @return return code of the operation
*/ */
u32 tpm_get_capability(u32 cap_area, u32 sub_cap, void *cap, size_t count); u32 tpm_get_capability(u32 cap_area, u32 sub_cap, void *cap, size_t count);
/** /**
* Issue a TPM_FlushSpecific command for a AUTH ressource. * Issue a TPM_FlushSpecific command for a AUTH resource.
* *
* @param auth_handle handle of the auth session * @param auth_handle handle of the auth session
* @return return code of the operation * @return return code of the operation
...@@ -564,7 +564,7 @@ u32 tpm_get_capability(u32 cap_area, u32 sub_cap, void *cap, size_t count); ...@@ -564,7 +564,7 @@ u32 tpm_get_capability(u32 cap_area, u32 sub_cap, void *cap, size_t count);
u32 tpm_terminate_auth_session(u32 auth_handle); u32 tpm_terminate_auth_session(u32 auth_handle);
/** /**
* Issue a TPM_OIAP command to setup an object independant authorization * Issue a TPM_OIAP command to setup an object independent authorization
* session. * session.
* Information about the session is stored internally. * Information about the session is stored internally.
* If there was already an OIAP session active it is terminated and a new * If there was already an OIAP session active it is terminated and a new
......
...@@ -825,7 +825,7 @@ u32 tpm_terminate_auth_session(u32 auth_handle) ...@@ -825,7 +825,7 @@ u32 tpm_terminate_auth_session(u32 auth_handle)
0x00, 0x00, 0x00, 0x00, /* parameter size */ 0x00, 0x00, 0x00, 0x00, /* parameter size */
0x00, 0x00, 0x00, 0xba, /* TPM_COMMAND_CODE */ 0x00, 0x00, 0x00, 0xba, /* TPM_COMMAND_CODE */
0x00, 0x00, 0x00, 0x00, /* TPM_HANDLE */ 0x00, 0x00, 0x00, 0x00, /* TPM_HANDLE */
0x00, 0x00, 0x00, 0x02, /* TPM_RESSOURCE_TYPE */ 0x00, 0x00, 0x00, 0x02, /* TPM_RESOURCE_TYPE */
}; };
const size_t req_handle_offset = TPM_REQUEST_HEADER_LENGTH; const size_t req_handle_offset = TPM_REQUEST_HEADER_LENGTH;
u8 request[COMMAND_BUFFER_SIZE]; u8 request[COMMAND_BUFFER_SIZE];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment