commit | 97db86ce109777b72ea8e9bc7bbabcdcc4954ec9 | [log] [tgz] |
---|---|---|
author | Etienne Carriere <etienne.carriere@linaro.org> | Fri Feb 03 16:59:37 2023 +0100 |
committer | Jérôme Forissier <jerome@forissier.org> | Thu Feb 09 16:12:06 2023 +0100 |
tree | 4ad20672c2cc2c025428311c784b2fb7c26203d5 | |
parent | 31c028134b03c27ff926548854819193fc7822e5 [diff] |
core: tpm: fix syntax in trace message Fixes build warning (trace message below) when CFG_CORE_TPM_EVENT_LOG=y. core/kernel/tpm.c:115:8: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 115 | EMSG("TPM: Not enough space for the log: %zu, %lu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | buf_size, tpm_log_size); | ~~~~~~~~~~~~ | | | size_t {aka unsigned int} Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers