commit | e8dadb12f1dd144552ea103b9c13358af5926977 | [log] [tgz] |
---|---|---|
author | Zelalem <zelalem.aweke@arm.com> | Wed Feb 05 14:12:39 2020 -0600 |
committer | Zelalem <zelalem.aweke@arm.com> | Wed Feb 05 14:53:02 2020 -0600 |
tree | 593c3f6465c7fdd981c452b5034ab8edf75b7205 | |
parent | 5b2108225ae87f84e602030fae92e790ae24c8ae [diff] |
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>