-
Notifications
You must be signed in to change notification settings - Fork 206
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 #623, Replace OS_FS_* return codes with common definitions #624
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skliper
requested changes
Apr 17, 2020
fsw/cfe-core/src/inc/cfe_error.h
Outdated
@@ -808,12 +808,12 @@ | |||
#define CFE_OS_ERR_INVALID_PRIORITY (OS_ERR_INVALID_PRIORITY) /**< @copydoc OS_ERR_INVALID_PRIORITY */ | |||
#define CFE_OS_ERROR_TASK_ID (OS_ERROR_TASK_ID) /**< @brief This doesn't actually exist */ | |||
#define CFE_OS_SEM_UNAVAILABLE (OS_SEM_UNAVAILABLE) /**< @brief This doesn't actually exist */ | |||
#define CFE_OS_FS_ERROR (OS_FS_ERROR) /**< @copydoc OS_FS_ERROR */ | |||
#define CFE_OS_FS_ERR_INVALID_POINTER (OS_FS_ERR_INVALID_POINTER) /**< @copydoc OS_FS_ERR_INVALID_POINTER */ | |||
#define CFE_OS_ERROR (OS_ERROR) /**< @copydoc OS_ERROR */ |
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.
Leave as CFE_OS_FS_ERROR, this whole group is deprecated in #582 but need to deprecate before removing. Same for CFE_OS_FS_ERR_INVALID_POINTER.
dmknutsen
changed the title
Fix #623, Deprecates OS_FS_* defines that aren't unique to FS
Fix #623, Removes OS_FS_* defines that aren't unique to FS
Apr 17, 2020
dmknutsen
changed the title
Fix #623, Removes OS_FS_* defines that aren't unique to FS
Fix #623, Replace OS_FS_* return codes with common definitions
Apr 17, 2020
skliper
approved these changes
Apr 21, 2020
skliper
added
the
CCB:Ready
Ready for discussion at the Configuration Control Board (CCB)
label
Apr 21, 2020
CCB 20200422 - APPROVED |
astrogeco
added
CCB - 20200422
CCB:Approved
Indicates code review and approval by community CCB
and removed
CCB:Ready
Ready for discussion at the Configuration Control Board (CCB)
labels
Apr 23, 2020
@dmknutsen check conflicts, might want to rebase |
jphickey
added a commit
that referenced
this pull request
Apr 29, 2020
Fix #623, Replace OS_FS_* return codes with common definitions Merged manually to resolve conflicts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe the contribution
Removed The following OS_FS* defines from osapi-os-filesys.h:
OS_FS_SUCCESS, OS_FS_ERROR , OS_FS_ERR_INVALID_POINTER, OS_FS_ERR_NO_FREE_FDS , OS_FS_ERR_INVALID_FD, and OS_FS_UNIMPLEMENTED
Fixes #623
Used sed to perform a bulk find/replace on each one to swap with common definitions.
Testing performed
Steps taken to test the contribution:
Expected behavior changes
None
System(s) tested on
Oracle VM VirtualBox
OS: ubuntu-19.10
Versions: cFE 6.7.12.0, OSAL 5.0.11.0, PSP 1.4.7.0
**Contributor Info **
Dan Knutsen
NASA/Goddard