Home
last modified time | relevance | path

Searched hist:cf24229e6ef495b0df258855bd315cff7191d668 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/include/common/
H A Ddebug.hcf24229e6ef495b0df258855bd315cff7191d668 Wed Jun 20 12:50:48 UTC 2018 Sandrine Bailleux <sandrine.bailleux@arm.com> Run compiler on debug macros for type checking

Even if the log output is too low for a message to be printed out on
the console by the debug macros, it should still be evaluated by the
compiler to get some type checking and validation of the format
specifiers. To do so, introduce the no_tf_log() macro that encloses
the call to tf_log() in an always-false condition.

This avoids the problem of discovering build issues only when we build
the firmware with the right LOG_LEVEL value.

Change-Id: Ic0fd252ab691d0187fd925756a4837aca1cbfd7b
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>