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>
1 file changed
tree: 0f8d14d36eafda1033cf395b5e93e0ef4b27c0c5
  1. .github/
  2. cert/
  3. host/
  4. scripts/
  5. ta/
  6. .gitignore
  7. Android.mk
  8. CMakeLists.txt
  9. CMakeToolchain.txt
  10. LICENSE.md
  11. Makefile
  12. README.md
  13. typedefs.checkpatch
README.md

OP-TEE sanity testsuite

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