commit | 466bb285c6985027c75a230e39f2ae246fd07971 | [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 | 235c8174ffe55bfc1108c02e0b41ca9916428f21 [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>