aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorShawn Shan <Shawn.Shan@arm.com>2021-01-21 10:28:18 +0800
committerKen Liu <ken.liu@arm.com>2021-01-22 03:22:40 +0000
commit7ef79ec8322efa4755e22a5bd532223a9d8fc333 (patch)
tree2c639cda6c0d8cba9a9c096c02635fd7f510f182 /interface
parent7421f5cb7d47511e8714d393db102452ce2ffb87 (diff)
downloadtrusted-firmware-m-7ef79ec8322efa4755e22a5bd532223a9d8fc333.tar.gz
SPM: Fix some compile warnings
- Fix the warning about implicit declaration of function 'tfm_hal_output_spm_log'. - Cast the argument to the same type. - Fix some comments warnings. Change-Id: I9ceee823696d769c71ed34345c14a16fd2fb5a2a Signed-off-by: Shawn Shan <Shawn.Shan@arm.com>
Diffstat (limited to 'interface')
-rw-r--r--interface/include/psa/client.h4
-rw-r--r--interface/include/tfm_api.h6
2 files changed, 4 insertions, 6 deletions
diff --git a/interface/include/psa/client.h b/interface/include/psa/client.h
index a5e851803f..6df761a450 100644
--- a/interface/include/psa/client.h
+++ b/interface/include/psa/client.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2020, Arm Limited. All rights reserved.
+ * Copyright (c) 2018-2021, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -130,7 +130,7 @@ psa_handle_t psa_connect(uint32_t sid, uint32_t version);
* Must be zero( \ref PSA_IPC_CALL) or positive.
* \param[in] in_vec Array of input \ref psa_invec structures.
* \param[in] in_len Number of input \ref psa_invec structures.
- * \param[in/out] out_vec Array of output \ref psa_outvec structures.
+ * \param[in,out] out_vec Array of output \ref psa_outvec structures.
* \param[in] out_len Number of output \ref psa_outvec structures.
*
* \retval >=0 RoT Service-specific status value.
diff --git a/interface/include/tfm_api.h b/interface/include/tfm_api.h
index 883eb5b8c9..fea18cd59a 100644
--- a/interface/include/tfm_api.h
+++ b/interface/include/tfm_api.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2020, Arm Limited. All rights reserved.
+ * Copyright (c) 2017-2021, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -115,7 +115,7 @@ psa_handle_t tfm_psa_connect_veneer(uint32_t sid, uint32_t version);
* \param[in] ctrl_param Parameter structure, includes request type,
* in_num and out_num.
* \param[in] in_vec Array of input \ref psa_invec structures.
- * \param[in/out] out_vec Array of output \ref psa_outvec structures.
+ * \param[in,out] out_vec Array of output \ref psa_outvec structures.
*
* \return Returns \ref psa_status_t status code.
*/
@@ -128,8 +128,6 @@ psa_status_t tfm_psa_call_veneer(psa_handle_t handle,
* \brief Close connection to secure function referenced by a connection handle.
*
* \param[in] handle Handle to connection
- *
- * \return void
*/
void tfm_psa_close_veneer(psa_handle_t handle);