diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2022-06-27 09:37:39 +0200 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2022-06-27 09:37:39 +0200 |
commit | 63d49c49c2943b82930d1303ac64aa3286832f23 (patch) | |
tree | a9d995bca554fa4be5b4dd54a55a996718152125 /lib | |
parent | 9316149ef8538ee0b7299700429ba0e7ff802630 (diff) | |
parent | 2abd317d27a26bbfa3da7fe3fe709da3fa0f09af (diff) | |
download | trusted-firmware-a-63d49c49c2943b82930d1303ac64aa3286832f23.tar.gz |
Merge "fix(measured-boot): fix verbosity level of RSS digests traces" into integration
Diffstat (limited to 'lib')
-rw-r--r-- | lib/psa/measured_boot.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/psa/measured_boot.c b/lib/psa/measured_boot.c index 693e01f99b..90e4ef39dc 100644 --- a/lib/psa/measured_boot.c +++ b/lib/psa/measured_boot.c @@ -14,8 +14,9 @@ #include "measured_boot_private.h" -static void print_byte_array(const uint8_t *array, size_t len) +static void print_byte_array(const uint8_t *array __unused, size_t len __unused) { +#if LOG_LEVEL >= LOG_LEVEL_INFO size_t i; if (array == NULL || len == 0U) { @@ -31,6 +32,7 @@ static void print_byte_array(const uint8_t *array, size_t len) } } } +#endif } static void log_measurement(uint8_t index, |