Skip to content
Commit e7b6c8f3 authored by Leandro Pereira's avatar Leandro Pereira Committed by Anas Nashif
Browse files

kernel: mem_domain: Break down assertions



Instead of composing expressions with a logical AND, break down it into
multiple assertions.  Smaller assertions are easier to read.  While at
it, compare pointers against the NULL value, and numbers against 0
instead of relying on implicit conversion to boolean-ish values.

Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent 53a7cf9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment