From 75a6c76cec855407386f958dc744cdd37ab53b0e Mon Sep 17 00:00:00 2001 From: vasukis Date: Thu, 14 Nov 2024 17:42:35 +0000 Subject: [PATCH] tegra: hwpm: type-cast to prevent build errors Type cast variable to prevent build error on QNX SDP 7.1. Bug 4893334 Signed-off-by: vasukis Change-Id: I1158a8a19f582fa08c554a56e4ad63e74ee6d5a1 Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/3249137 Reviewed-by: Seema Khowala Reviewed-by: svcacv GVS: buildbot_gerritrpt --- drivers/tegra/hwpm/common/ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tegra/hwpm/common/ip.c b/drivers/tegra/hwpm/common/ip.c index 54e8ddf..686e608 100644 --- a/drivers/tegra/hwpm/common/ip.c +++ b/drivers/tegra/hwpm/common/ip.c @@ -476,7 +476,7 @@ static bool tegra_hwpm_addr_in_all_elements(struct tegra_soc_hwpm *hwpm, idx = element->aperture_index; tegra_hwpm_dbg(hwpm, hwpm_dbg_ip_register, "find_addr 0x%llx element dyn_idx %u static idx %u", - find_addr, dyn_idx, idx); + (unsigned long long)find_addr, dyn_idx, idx); } *s_element_idx = idx;