@@ -78,13 +78,13 @@ stse_ReturnCode_t stsafea_get_total_partition_count(stse_Handler_t *pSTSE,
7878stse_ReturnCode_t stsafea_get_data_partitions_configuration (stse_Handler_t * pSTSE ,
7979 PLAT_UI8 total_partitions_count ,
8080 stsafea_data_partition_record_t * pRecord_table ,
81- PLAT_UI16 record_table_length ) {
81+ PLAT_UI16 record_table_size ) {
8282 stse_ReturnCode_t ret ;
8383 volatile PLAT_UI8 partition_idx ;
8484 PLAT_UI8 cmd_header = STSAFEA_CMD_QUERY ;
8585 PLAT_UI8 tag = STSAFEA_SUBJECT_TAG_DATA_PARTITION_CONFIGURATION ;
8686 PLAT_UI8 rsp_header ;
87- PLAT_UI8 raw_data [record_table_length ];
87+ PLAT_UI8 raw_data [record_table_size ];
8888
8989 if (pSTSE == NULL ) {
9090 return STSE_SERVICE_HANDLER_NOT_INITIALISED ;
@@ -98,7 +98,7 @@ stse_ReturnCode_t stsafea_get_data_partitions_configuration(stse_Handler_t *pSTS
9898 /*- Create Rsp frame and populate elements*/
9999 stse_frame_allocate (RspFrame );
100100 stse_frame_element_allocate_push (& RspFrame , eRsp_header , 1 , & rsp_header );
101- stse_frame_element_allocate_push (& RspFrame , eRaw , record_table_length , raw_data );
101+ stse_frame_element_allocate_push (& RspFrame , eRaw , record_table_size , raw_data );
102102
103103 /*- Perform Transfer*/
104104 ret = stsafea_frame_raw_transfer (pSTSE ,
0 commit comments