zephyr/tests/kernel/mbox/mbox_api/src
Leandro Pereira a07d0731c7 tests: mbox_api: Fully initialize k_box_msg struct
`mmsg` should be fully initialized prior to calling k_mbox_get().  The
mailbox implementation (mainly, mbox_message_match()) will look inside
the second parameter passed to k_mbox_get() in order to determine if
which pending messages should be returned to the caller.

Fixes Valgrind warning listed in #7478.

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2018-06-05 10:26:59 -04:00
..
main.c tests: kernel: use a consistent test suite name 2018-04-09 22:55:20 -04:00
test_mbox_api.c tests: mbox_api: Fully initialize k_box_msg struct 2018-06-05 10:26:59 -04:00