diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2019-02-01 16:01:25 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-07 03:02:06 -0800 |
commit | 9976bf4c2782ce79909723ed67415a8540a04c39 (patch) | |
tree | e4fa18552f2567558168ea7f15662003b5c858be | |
parent | 1353c862d516864a1a96eabf44c3fded6720852a (diff) | |
download | chrome-ec-9976bf4c2782ce79909723ed67415a8540a04c39.tar.gz |
common: fix tpm_task prototype
The actual main task function prototype includes a void pointer as a
parameter. Enabling link time optimization shows that tpm_task()
prototype is not compliant, let's fix it.
BRANCH=cr50, cr50-mp
BUG=b:65253310
TEST=building Cr50 with CONFIG_LTO enabled does not fail any more.
Change-Id: Ia5ca961ced6cbef66894a52b25b711f8a2317244
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1450814
Reviewed-by: Andrey Pronin <apronin@chromium.org>
-rw-r--r-- | common/tpm_registers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/tpm_registers.c b/common/tpm_registers.c index 5a81e0ca6b..74fff76082 100644 --- a/common/tpm_registers.c +++ b/common/tpm_registers.c @@ -904,7 +904,7 @@ void tpm_stop(void) if_stop(); } -void tpm_task(void) +void tpm_task(void *u) { uint32_t evt = 0; |