commit | e7b6c8f3225566b17c911a20e199a0832800afec | [log] [tgz] |
---|---|---|
author | Leandro Pereira <leandro.pereira@intel.com> | Tue Feb 13 18:02:06 2018 -0800 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed Feb 14 10:07:10 2018 -0500 |
tree | 12a18947479c08f9c2a6868fec26434d7262037c | |
parent | 53a7cf9a74750dad310a484023f906db96926981 [diff] |
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: Leandro Pereira <leandro.pereira@intel.com>