Skip to content
Commit 2e8cdc1e authored by Andy Gross's avatar Andy Gross Committed by Anas Nashif
Browse files

kernel: Enforce k_mem_slab block size alignment



This patch puts checks in place to ensure that callers to the k_mem_slab
APIs provide word aligned block sizes.  If this is not done, this can
result in unaligned accesses and subsequent crashes.

Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent 5b133101
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment