aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2018-06-20 14:50:48 +0200
committerSandrine Bailleux <sandrine.bailleux@arm.com>2018-07-13 11:31:05 +0200
commitcf24229e6ef495b0df258855bd315cff7191d668 (patch)
tree1df8ae292f68388785d8c0560088411cd9561ca8 /services
parent6e779ace0adf10e2cdbefee2717fb6df4da36c53 (diff)
downloadplatform_external_arm-trusted-firmware-cf24229e6ef495b0df258855bd315cff7191d668.tar.gz
platform_external_arm-trusted-firmware-cf24229e6ef495b0df258855bd315cff7191d668.tar.bz2
platform_external_arm-trusted-firmware-cf24229e6ef495b0df258855bd315cff7191d668.zip
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>
Diffstat (limited to 'services')
0 files changed, 0 insertions, 0 deletions