fix: fix call to `FFA_VERSION`
`SKIP_TEST_IF_FFA_VERSION_LESS_THAN` was attempting to change the FF-A
version, when it only needed to query it. The recent change to
`FFA_VERSION` means that attempting to change the version would fail.
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
Change-Id: Id8572d1a4d61b17a85af44f96e3720230d35e698
diff --git a/include/runtime_services/spm_test_helpers.h b/include/runtime_services/spm_test_helpers.h
index a79b6dd..93027d6 100644
--- a/include/runtime_services/spm_test_helpers.h
+++ b/include/runtime_services/spm_test_helpers.h
@@ -14,8 +14,7 @@
#define SKIP_TEST_IF_FFA_VERSION_LESS_THAN(major, minor) \
do { \
- struct ffa_value ret = ffa_version( \
- make_ffa_version(major, minor)); \
+ struct ffa_value ret = ffa_version(FFA_VERSION_COMPILED); \
enum ffa_version version = ret.fid; \
\
if (version == FFA_ERROR_NOT_SUPPORTED) { \