Skip to content
Commit dd180c27 authored by Gaetan Perrot's avatar Gaetan Perrot Committed by Dan Kalowsky
Browse files

ipc_service: ipc_icbmsg: fix unchecked error in icmsg_open()



Coverity (CID 516253) reported that the return value of
initialize_tx_with_sid_disabled() was set but not used, leading to
potential silent failures.

Check if the return value is negative and propagate the error through the
existing cleanup path.

Fixes: CID 516253

Signed-off-by: default avatarGaetan Perrot <gaetan.perrot@spacecubics.com>
parent e4e88701
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment