From 964ee4e6be70ef638d6c875a761ab5ca359d84fe Mon Sep 17 00:00:00 2001 From: Madhukar Pappireddy Date: Thu, 11 Nov 2021 11:32:53 -0600 Subject: [PATCH] fix(mt8195): use correct print format for uint64_t sha 4ce3e99a3 introduced printf format specifiers for fixed width types, which uses PRI*64 instead of "ll" for 64 bit variables. Change-Id: I09a8d174694d4b170a6ef2e4a03df13adc829c00 Signed-off-by: Madhukar Pappireddy --- plat/mediatek/mt8195/drivers/dp/mt_dp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plat/mediatek/mt8195/drivers/dp/mt_dp.c b/plat/mediatek/mt8195/drivers/dp/mt_dp.c index 7ab219468..5930cd553 100644 --- a/plat/mediatek/mt8195/drivers/dp/mt_dp.c +++ b/plat/mediatek/mt8195/drivers/dp/mt_dp.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include + #include #include #include @@ -28,7 +31,7 @@ int32_t dp_secure_handler(uint64_t cmd, uint64_t para, uint32_t *val) uint32_t fldmask = 0UL; if ((cmd > DP_ATF_CMD_COUNT) || (val == NULL)) { - INFO("dp_secure_handler error cmd 0x%llx\n", cmd); + INFO("dp_secure_handler error cmd 0x%" PRIx64 "\n", cmd); return MTK_SIP_E_INVALID_PARAM; }