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

ipc: icmsg: Check return error of pbuf_rx_init() #79047

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

aescolar
Copy link
Member

Following @arnopo #78390 (comment)

When pbuf_rx_init() was added, this caller did not check for a possibly returned error to not have more overhead than before using this function.
Although unlikely let's check for a possible error (not configured Rx pbuf cfg).

When pbuf_rx_init() was added, this caller did not check for a possibly
returned error to not have more overhead than before using this
function.
Although unlikely let's check for a possible error (not configured Rx
pbuf cfg).

Signed-off-by: Alberto Escolar Piedras <[email protected]>
@zephyrbot zephyrbot added the area: IPC Inter-Process Communication label Sep 26, 2024
@aescolar aescolar merged commit ca26820 into zephyrproject-rtos:main Oct 2, 2024
26 checks passed
@aescolar aescolar deleted the icmsg_ret_check branch October 2, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: IPC Inter-Process Communication
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants