mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
In a primitive SYS_SLIST_FOR_EACH_NODE check for null was after dereferencing. Place check for null of the "thread_spec_data" before its dereferencing. Found as a coding guideline violation (MISRA R4.1) by static coding scanning tool. Signed-off-by: Maksim Masalski <maksim.masalski@intel.com>