Skip to content
Commit 110d58c0 authored by Sharron Liu's avatar Sharron Liu Committed by Anas Nashif
Browse files

tests: kernel: mbox_api: fix uninit variable and unchecked value



"struct k_mbox_msg mmsg" should be initialized before using.
"int" value returned by k_mem_pool_alloc() should be checked.

Coverity-CID: 160083
Coverity-CID: 160470

Change-Id: I35714bf9d76723c5fdd8c2963bf76b42ae1b1867
Signed-off-by: default avatarSharron LIU <sharron.liu@intel.com>
parent d9a3c92b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment