commit | eb238769ae57603e501b83d0c0129f60f6512f3f | [log] [tgz] |
---|---|---|
author | Clement Faure <clement.faure@nxp.com> | Mon Mar 27 15:54:23 2023 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Tue Mar 28 13:04:31 2023 +0200 |
tree | a0e47a74d6bb8c9215e278de4466e2f89ac7eefd | |
parent | 552d5e40de0fd1d001d536468bfe4f46a022d3c4 [diff] |
pta: attestation: fix compilation incompatible pointer warning To reproduce (any 64bits platform will do): $ make PLATFORM=imx-mx8mmevk CFG_ATTESTATION_PTA=y CFG_WERROR=y core/pta/attestation.c: In function ‘cmd_get_pubkey’: core/pta/attestation.c:358:30: warning: initialization of ‘uint32_t *’ {aka ‘unsigned int *’} from incompatible pointer type ‘size_t *’ {aka ‘long unsigned int *’} [-Wincompatible-pointer-types] 358 | uint32_t *e_out_sz = ¶ms[0].memref.size; | ^ core/pta/attestation.c:360:30: warning: initialization of ‘uint32_t *’ {aka ‘unsigned int *’} from incompatible pointer type ‘size_t *’ {aka ‘long unsigned int *’} [-Wincompatible-pointer-types] 360 | uint32_t *n_out_sz = ¶ms[1].memref.size; | ^ Fixes: 7509620b8b95 ("GP131: Update TEE_Param") Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Jens Wiklander <jens.wiklander@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