Skip to content
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 #440 - rename parameter in CFE_PSP_MemSet handler to align with stub and actual code #441

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

CDKnightNASA
Copy link
Contributor

Checklist (Please check before submitting)

Describe the contribution
Addresses a mis-match with the parameter name in the CFE_PSP_MemSet handler and stub.

Testing performed
Built cFS with change, including coverage test that uncovered this issue.

Expected behavior changes

  • Behavior Change: Correct handler behavior.

System(s) tested on
Oracle Linux 8

Contributor Info - All information REQUIRED for consideration of pull request
[email protected]

@CDKnightNASA
Copy link
Contributor Author

Seems PSP_MemCopy handler/stub has the same problem, I'll fix and rebase.

…andlers to align with stub and actual code
@CDKnightNASA CDKnightNASA force-pushed the fix440-memset_handler_param branch from 45d98d7 to 799d25a Compare November 20, 2024 17:26
@CDKnightNASA
Copy link
Contributor Author

also fixed CFE_PSP_MemCpy

@dzbaker dzbaker added the CCB:Approved Indicates Approval by CCB label Nov 21, 2024
dzbaker added a commit to nasa/cFS that referenced this pull request Dec 10, 2024
*Combines:*

cFE equuleus-rc1+dev219
osal equuleus-rc1+dev93
PSP equuleus-rc1+dev55
cFS-GroundSystem equuleus-rc1+dev14

**Includes:**

*cFE*
- nasa/cFE#2308
- nasa/cFE#2612
- nasa/cFE#2616
- nasa/cFE#2309

*osal*
- nasa/osal#1486

*PSP*
- nasa/PSP#441

*cFS-GroundSystem*
- nasa/cFS-GroundSystem#233
- nasa/cFS-GroundSystem#235
- nasa/cFS-GroundSystem#236

Co-authored by: Avi Weiss <[email protected]>
Co-authored by: Tvisha Andharia <[email protected]>
Co-authored by: Chris Knight <[email protected]>
@dzbaker dzbaker mentioned this pull request Dec 10, 2024
2 tasks
dzbaker added a commit to nasa/cFS that referenced this pull request Dec 10, 2024
*Combines:*

cFE equuleus-rc1+dev219
osal equuleus-rc1+dev93
PSP equuleus-rc1+dev55
cFS-GroundSystem equuleus-rc1+dev14

**Includes:**

*cFE*
- nasa/cFE#2308
- nasa/cFE#2612
- nasa/cFE#2616
- nasa/cFE#2309

*osal*
- nasa/osal#1486

*PSP*
- nasa/PSP#441

*cFS-GroundSystem*
- nasa/cFS-GroundSystem#233
- nasa/cFS-GroundSystem#235
- nasa/cFS-GroundSystem#236

Co-authored by: Avi Weiss <[email protected]>
Co-authored by: Tvisha Andharia <[email protected]>
Co-authored by: Chris Knight <[email protected]>
@@ -45,7 +45,7 @@ void UT_DefaultHandler_CFE_PSP_MemCpy(void *UserObj, UT_EntryKey_t FuncKey, cons
/* CFE_PSP_MemCpy(void *dest, const void *src, uint32 size) */
void * dest = UT_Hook_GetArgValueByName(Context, "dest", void *);
const void *src = UT_Hook_GetArgValueByName(Context, "src", const void *);
uint32 size = UT_Hook_GetArgValueByName(Context, "size", uint32);
uint32 n = UT_Hook_GetArgValueByName(Context, "n", uint32);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed variable was not updated in memcpy() on line 54. I've corrected this in commit e0fd658.

@dzbaker dzbaker merged commit 2916bae into nasa:main Dec 10, 2024
9 of 10 checks passed
dzbaker added a commit to nasa/cFS that referenced this pull request Dec 10, 2024
*Combines:*

cFE equuleus-rc1+dev219
osal equuleus-rc1+dev93
PSP equuleus-rc1+dev55
cFS-GroundSystem equuleus-rc1+dev14

**Includes:**

*cFE*
- nasa/cFE#2308
- nasa/cFE#2612
- nasa/cFE#2616
- nasa/cFE#2309

*osal*
- nasa/osal#1486

*PSP*
- nasa/PSP#441

*cFS-GroundSystem*
- nasa/cFS-GroundSystem#233
- nasa/cFS-GroundSystem#235
- nasa/cFS-GroundSystem#236

Co-authored by: Avi Weiss <[email protected]>
Co-authored by: Tvisha Andharia <[email protected]>
Co-authored by: Chris Knight <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates Approval by CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants