Skip to content
Commit 0c23cf94 authored by Armin Brauns's avatar Armin Brauns Committed by Johan Hedberg
Browse files

include/kernel: check type of object passed to K_POLL_EVENT_INITIALIZER



This prevents accidentally passing the wrong pointer type (e.g. one level
of indirection too many) as the object `void *`.

Co-authored-by: default avatarNicolas Pitre <npitre@baylibre.com>
Signed-off-by: default avatarArmin Brauns <armin.brauns@embedded-solutions.at>
parent 45d3eb27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment