Merge "Fix 'tautological-constant-compare' error" into integration

This commit is contained in:
Mark Dykes 2020-03-25 15:39:26 +00:00 committed by TrustedFirmware Code Review
commit d9f405edeb

View file

@ -173,7 +173,7 @@ typedef struct pmf_svc_desc {
unsigned int tid, \
unsigned long long ts) \
{ \
CASSERT(_flags, select_proper_config); \
CASSERT(_flags != 0, select_proper_config); \
PMF_VALIDATE_TID(_name, tid); \
uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \
if (((_flags) & PMF_STORE_ENABLE) != 0) \
@ -185,7 +185,7 @@ typedef struct pmf_svc_desc {
unsigned int tid, \
unsigned long long ts) \
{ \
CASSERT(_flags, select_proper_config); \
CASSERT(_flags != 0, select_proper_config); \
PMF_VALIDATE_TID(_name, tid); \
uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \
if (((_flags) & PMF_STORE_ENABLE) != 0) \