mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00
Merge "Fix 'tautological-constant-compare' error" into integration
This commit is contained in:
commit
d9f405edeb
1 changed files with 2 additions and 2 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Reference in a new issue