commit | bbbb485955d040b301c1ca6e1ea7706589d9e1a4 | [log] [tgz] |
---|---|---|
author | Vincent Mailhol <mailhol.vincent@wanadoo.fr> | Thu Nov 16 16:19:06 2023 +0900 |
committer | Jérôme Forissier <jerome@forissier.org> | Mon Nov 20 18:52:12 2023 +0100 |
tree | 0f8d14d36eafda1033cf395b5e93e0ef4b27c0c5 | |
parent | 2ea0aa70b2d694cacf227bb59c0546157c409f63 [diff] |
ta: os_test: undefine TA2TA_BUF_SIZE TA2TA_BUF_SIZE is used to defined some test arrays. Using a macro instead of a const int declaration is good as it forces the declared arrays not to be variable length arrays. However, TA2TA_BUF_SIZE is defined in the middle of the translation unit. Because its use is local to ta_entry_ta2ta_memref(), undefine it after the function to make the visibility of the macro scoped. Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
This git contains source code for the test suite (xtest) used to test the OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_test.
// OP-TEE core maintainers