Skip to content
Commit d47b1c05 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

kernel: userspace: add k_object_is_valid()



This adds a function k_object_is_valid() to check if a kernel
object exists, of certain type, and has been initialized.
This replaces the same (or very similar) code that has been
copied from kernel into the network subsystem.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent cc219c01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment