Skip to content

Commit

Permalink
drivers: caam: update return type of caam_sm_free()
Browse files Browse the repository at this point in the history
Update return type of caam_sm_free() from TEE_Result
to enum caam_status.

Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Clement Faure <clement.faure@nxp.com>
  • Loading branch information
sahilnxp committed Dec 7, 2023
1 parent 0b9aa27 commit 4714340
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/drivers/crypto/caam/include/caam_sm.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ caam_sm_set_access_perm(const struct caam_sm_page_desc *page_desc,
*
* @sm_page_descriptor Secure Memory page
*/
TEE_Result caam_sm_free(const struct caam_sm_page_desc *sm_page_descriptor);
enum caam_status
caam_sm_free(const struct caam_sm_page_desc *sm_page_descriptor);

#else
static inline enum caam_status caam_sm_init(struct caam_jrcfg *jrcfg __unused)
Expand Down

0 comments on commit 4714340

Please sign in to comment.