Commit 96cc4e31 authored by Miquel Raynal's avatar Miquel Raynal Committed by Tom Rini

tpm: add extra blank lines between declarations and code

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

    WARNING: Missing a blank line after declarations
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 52da18a3
......@@ -204,6 +204,7 @@ int unpack_byte_string(const u8 *str, size_t size, const char *format, ...)
static u32 tpm_command_size(const void *command)
{
const size_t command_size_offset = 2;
return get_unaligned_be32(command + command_size_offset);
}
......@@ -216,6 +217,7 @@ static u32 tpm_command_size(const void *command)
static u32 tpm_return_code(const void *response)
{
const size_t return_code_offset = 6;
return get_unaligned_be32(response + return_code_offset);
}
......@@ -843,6 +845,7 @@ u32 tpm_terminate_auth_session(u32 auth_handle)
u32 tpm_end_oiap(void)
{
u32 err = TPM_SUCCESS;
if (oiap_session.valid)
err = tpm_terminate_auth_session(oiap_session.handle);
return err;
......
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