From cfec15ebcaa310f781dacb084280c744ec292956 Mon Sep 17 00:00:00 2001 From: vasukis Date: Mon, 18 Nov 2024 20:48:16 +0000 Subject: [PATCH] tegra: hwpm: type-cast to prevent QNX build errors Type cast variable to prevent build error on QNX SDP 7.1. Bug 4893334 Signed-off-by: vasukis Change-Id: Ica23d35aad973eb0dd092978e4a276ef765e1b34 Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/3251800 GVS: buildbot_gerritrpt Reviewed-by: svcacv Reviewed-by: Seema Khowala --- 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 686e608..dbc13e4 100644 --- a/drivers/tegra/hwpm/common/ip.c +++ b/drivers/tegra/hwpm/common/ip.c @@ -591,7 +591,7 @@ static bool tegra_hwpm_addr_in_all_instances(struct tegra_soc_hwpm *hwpm, idx = tegra_hwpm_ffs(hwpm, ip_inst->hw_inst_mask); tegra_hwpm_dbg(hwpm, hwpm_dbg_ip_register, "IP %d find_addr 0x%llx inst dyn_idx %u static idx %u", - *ip_idx, find_addr, dyn_idx, idx); + *ip_idx, (unsigned long long)find_addr, dyn_idx, idx); *s_inst_idx = idx;