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 <madhukar.pappireddy@arm.com>
diff --git a/plat/mediatek/mt8195/drivers/dp/mt_dp.c b/plat/mediatek/mt8195/drivers/dp/mt_dp.c
index 7ab2194..5930cd5 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 <inttypes.h>
+
#include <common/debug.h>
#include <lib/mmio.h>
#include <mt_dp.h>
@@ -28,7 +31,7 @@
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;
}