Skip to content

Commit

Permalink
[review] core: rpmb: get RPMB storage space allocation stats
Browse files Browse the repository at this point in the history
Fix inline stub when CFG_RPMB_FS=n.

Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
  • Loading branch information
etienne-lms committed Jan 16, 2025
1 parent 14f77d8 commit 7bde663
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/include/tee/tee_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ static inline TEE_Result tee_rpmb_reinit(void)
return TEE_ERROR_STORAGE_NOT_AVAILABLE;
}

static inline TEE_Result rpmb_mem_stats(struct pta_stats_alloc *stats __unused)
static inline TEE_Result rpmb_mem_stats(struct pta_stats_alloc *stats __unused,
bool reset __unused)
{
return TEE_ERROR_STORAGE_NOT_AVAILABLE;
}
Expand Down

0 comments on commit 7bde663

Please sign in to comment.