Commit fd0bc263 authored by Miquel Raynal's avatar Miquel Raynal Committed by Tom Rini

tpm: remove extra spaces between a function and its opening bracket

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

    WARNING: space prohibited between function name and open
    parenthesis '('
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 ba4d2eca
......@@ -610,7 +610,7 @@ uint32_t tpm_get_permanent_flags(struct tpm_permanent_flags *pflags)
0x0, 0x0, 0x1, 0x8, /* subcap value */
};
const size_t data_size_offset = TPM_HEADER_SIZE;
const size_t data_offset = TPM_HEADER_SIZE + sizeof (uint32_t);
const size_t data_offset = TPM_HEADER_SIZE + sizeof(uint32_t);
uint8_t response[COMMAND_BUFFER_SIZE];
size_t response_length = sizeof(response);
uint32_t err;
......@@ -1068,7 +1068,7 @@ uint32_t tpm_get_random(void *data, uint32_t count)
while (count > 0) {
uint32_t this_bytes = min((size_t)count,
sizeof (response) - data_offset);
sizeof(response) - data_offset);
uint32_t err;
if (pack_byte_string(buf, sizeof(buf), "sd",
......
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