Skip to content

[Backport v4.0.99-ncs1-branch] [nrf fromlist] net: openthread: Fix ignored return values in OT utils #2739

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

Merged

Conversation

NordicBuilder
Copy link
Contributor

Backport 8e6457e~2..8e6457e from #2738.

rlubos added 2 commits April 9, 2025 14:25
Upstream PR #: 88359

Do not ignore return values of OT functions registering IPv6 addresses.
As this is called from the net_mgmt callback context, which returns
void, there's not much that can be done, other than logging the error.

To simplify the logging code and avoid the need to use extra buffer,
use net_sprint_ipv6_addr() networking utility function within the log
message to convert binary address to string.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 6150da7)
Upstream PR #: 88359

clear_pending_events() was not used anywhere.

Signed-off-by: Robert Lubos <[email protected]>
(cherry picked from commit 8e6457e)
Copy link

sonarqubecloud bot commented Apr 9, 2025

@carlescufi carlescufi merged commit 3bb2db9 into v4.0.99-ncs1-branch Apr 9, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants