v4.0.x: backport: portals4: fix compiler warnings in all the Portals4 components #9559
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.
btl-portals4:
- move recv init inside the interface init loop
- fix uninitialized variable compiler warnings
- fix unused variable compiler warnings
- fix undefined variable failures in debug builds
mtl-portals4:
- move verbose output to the end of open() to avoid complicated message generation
- there is no function to add-fetch uint32_t, so change event_count type to opal_atomic_int32_t
coll-portals4:
- move declaration of loop index variables into the loop
- fix hidden loop index compiler warnings
- use REQUEST_COMPLETE to mark ompi_request_t complete
- remove incorrect req_complete initialization
osc-portals4:
- replace nonstatndard FUNCTION references with FILE
- use REQUEST_COMPLETE to mark ompi_request_t complete
- remove incorrect req_complete initialization
- add atomic compatible bytes_committed member to ompi_osc_portals4_request_t
- the request status _ucount member shouldn't be incremented directly with opal_atomic_add_fetch_32();
instead increment bytes_committed and assigned the result to _ucount
- remove initialization of nonexistent module members - osc_set_info and osc_get_info
Backport of commit 2fc4020
Signed-off-by: Todd Kordenbrock [email protected]
(cherry picked from commit 2fc4020)