arm-trusted-firmware/lib
Zelalem 466bb285c6 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>
2020-02-05 14:53:02 -06:00
..
aarch32 Fix Coverity #261967, Infinite loop 2019-08-06 13:06:03 +01:00
aarch64 Add support for Branch Target Identification 2019-05-24 14:44:45 +01:00
bl_aux_params Introduce lightweight BL platform parameter library 2019-07-18 16:42:40 -07:00
compiler-rt compiler_rt: Import popcountdi2.c and popcountsi2.c files 2020-01-20 11:32:59 +01:00
coreboot Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
cpus Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
debugfs coverity: debugfs devfip remove comparisons to LONG_MAX 2020-02-04 13:40:30 +00:00
el3_runtime Merge "Coverity: remove unnecessary header file includes" into integration 2020-02-04 17:15:57 +00:00
extensions TF-A: Add support for ARMv8.3-PAuth in BL1 SMC calls and BL2U 2019-10-03 14:43:55 +01:00
libc libc: add memrchr 2019-12-11 08:51:26 +01:00
libfdt libfdt: Downgrade to version 1.4.6-9 2018-10-30 13:42:13 +00:00
locks T589: Fix insufficient ordering guarantees in bakery lock 2020-01-27 09:31:31 -08:00
optee Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
pmf Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
psci qemu: Implement PSCI_CPU_OFF. 2020-01-29 10:50:25 +00:00
romlib FDT wrappers: add functions for read/write bytes 2020-02-03 11:41:27 +00:00
semihosting qemu: Implement qemu_system_off via semihosting. 2020-01-23 10:53:45 +00:00
stack_protector Disable stack protection explicitly 2019-10-20 14:59:09 -04:00
utils coverity: Fix MISRA null pointer violations 2020-02-05 14:53:02 -06:00
xlat_tables Coding guideline suggest not to use unsigned long 2019-11-12 11:14:18 -06:00
xlat_tables_v2 xlat_tables_v2: simplify end address checks in mmap_add_region_check() 2020-01-22 18:35:43 +09:00
zlib Sanitise includes across codebase 2019-01-04 10:43:17 +00:00