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>
diff --git a/interface/include/psa/client.h b/interface/include/psa/client.h
index a5e8518..6df761a 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 @@
  *                              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 883eb5b..fea18cd 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 @@
  * \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 @@
  * \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);