commit | 380924d95163ce01eb8f4d2d07e926e7f2ef5b55 | [log] [tgz] |
---|---|---|
author | Siew Chin Lim <elly.siew.chin.lim@intel.com> | Sat Jun 12 13:25:05 2021 +0800 |
committer | Jit Loon Lim <jit.loon.lim@intel.com> | Mon Feb 21 15:35:47 2022 +0800 |
tree | 29fbc9b42ea480a84e90accb48d04bc371eab51e | |
parent | 401f2115d811788ade0dc363124fe75da17eee00 [diff] |
fix(intel): assert if bl_mem_params is NULL pointer This patch fixes the code issue detected by Klocwork scan. Pointer 'bl_mem_params' returned from call to function 'get_bl_mem_params_node' may be NULL and the NULL pointer may be caused the system crash. Update the code to assert if unexpected NULL pointer is returned. Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com> Change-Id: I00f3132a6104618cadce26aa303c0b46b5921d5b