-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #99, Convert int32
return codes and variables to CFE_Status_t
#100
Fix #99, Convert int32
return codes and variables to CFE_Status_t
#100
Conversation
@@ -563,13 +563,13 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 FM_GetDirectorySpaceEstimate(const char *Directory, uint64 *BlockCount, uint64 *ByteCount) | |||
CFE_Status_t FM_GetDirectorySpaceEstimate(const char *Directory, uint64 *BlockCount, uint64 *ByteCount) |
Check notice
Code scanning / CodeQL
Function too long
@@ -531,11 +531,11 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 FM_GetVolumeFreeSpace(const char *FileSys, uint64 *BlockCount, uint64 *ByteCount) | |||
CFE_Status_t FM_GetVolumeFreeSpace(const char *FileSys, uint64 *BlockCount, uint64 *ByteCount) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -38,9 +38,9 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 FM_TableInit(void) | |||
CFE_Status_t FM_TableInit(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -563,13 +563,13 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 FM_GetDirectorySpaceEstimate(const char *Directory, uint64 *BlockCount, uint64 *ByteCount) | |||
CFE_Status_t FM_GetDirectorySpaceEstimate(const char *Directory, uint64 *BlockCount, uint64 *ByteCount) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -68,11 +68,11 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 FM_ValidateTable(FM_MonitorTable_t *TablePtr) | |||
CFE_Status_t FM_ValidateTable(FM_MonitorTable_t *TablePtr) |
Check notice
Code scanning / CodeQL
Function too long
@@ -165,10 +165,10 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 FM_AppInit(void) | |||
CFE_Status_t FM_AppInit(void) |
Check notice
Code scanning / CodeQL
Function too long
@@ -68,11 +68,11 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 FM_ValidateTable(FM_MonitorTable_t *TablePtr) | |||
CFE_Status_t FM_ValidateTable(FM_MonitorTable_t *TablePtr) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -165,10 +165,10 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 FM_AppInit(void) | |||
CFE_Status_t FM_AppInit(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
@@ -54,12 +54,12 @@ | |||
/* */ | |||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | |||
|
|||
int32 FM_ChildInit(void) | |||
CFE_Status_t FM_ChildInit(void) |
Check notice
Code scanning / CodeQL
Long function without assertion
6cedde4
to
fdef479
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Checklist
Describe the contribution
int32
return codes and variables should be converted toCFE_Status_t
#99int32
return codes converted over toCFE_Status_t
int32
status
/return
variables holding cFE return codes converted toCFE_Status_t
Testing performed
GitHub CI actions all passing successfully.
Expected behavior changes
No change to behavior.
CFE_Status_t
is more expressive and improves consistency with cFE/cFS.Contributor Info
Avi Weiss @thnkslprpt