gmio_stl: fix compilation errors in stla_stats.*
This commit is contained in:
parent
bfc38e58b8
commit
0e7e0f9ff9
@ -25,7 +25,7 @@ gmio_stla_stats_t gmio_stla_stats_get(
|
|||||||
{
|
{
|
||||||
gmio_stla_stats_t stats = {0};
|
gmio_stla_stats_t stats = {0};
|
||||||
void* mblock_ptr = trsf != NULL ? trsf->memblock.ptr : NULL;
|
void* mblock_ptr = trsf != NULL ? trsf->memblock.ptr : NULL;
|
||||||
const size_t mblock_size = trsf != NULL ? trsf->memblock.size : NULL;
|
const size_t mblock_size = trsf != NULL ? trsf->memblock.size : 0;
|
||||||
int err = GMIO_ERROR_OK;
|
int err = GMIO_ERROR_OK;
|
||||||
|
|
||||||
/* Check validity of input transfer object */
|
/* Check validity of input transfer object */
|
||||||
|
@ -53,7 +53,7 @@ enum gmio_stla_stat_flag
|
|||||||
GMIO_STLA_STAT_FLAG_SIZE = 0x04,
|
GMIO_STLA_STAT_FLAG_SIZE = 0x04,
|
||||||
GMIO_STLA_STAT_FLAG_ALL = 0xFF
|
GMIO_STLA_STAT_FLAG_ALL = 0xFF
|
||||||
};
|
};
|
||||||
typedef enum gmio_stla_stat gmio_stla_stat_t;
|
typedef enum gmio_stla_stat_flag gmio_stla_stat_flag_t;
|
||||||
|
|
||||||
GMIO_C_LINKAGE_BEGIN
|
GMIO_C_LINKAGE_BEGIN
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user