coverity: Fix MISRA null pointer violations
Fix code that violates the MISRA rule: MISRA C-2012 Rule 11.9: Literal "0" shall not be used as null pointer constant. The fix explicitly checks whether a pointer is NULL. Change-Id: Ibc318dc0f464982be9a34783f24ccd1d44800551 Signed-off-by: Zelalem <zelalem.aweke@arm.com> |
---|
|
bl1/aarch64/bl1_context_mgmt.c |
---|
bl1/bl1_main.c |
---|
bl2/bl2_image_load_v2.c |
---|
common/desc_image_load.c |
---|
drivers/console/multi_console.c |
---|
lib/utils/mem_region.c |
---|
plat/arm/common/arm_bl2_setup.c |
---|