From 97c0f1da08fbb2a3a8c6501edb56cec39d2c1535 Mon Sep 17 00:00:00 2001 From: Vedashree Vidwans Date: Wed, 1 Jun 2022 10:26:55 -0700 Subject: [PATCH] tegra: hwpm: fix coverity defects Correct order of arguments passed to log function. This will fix reported coverity defects. Jira THWPM-41 Change-Id: Ida2558d651f70bbc436f5640f531f6b5596b5081 Signed-off-by: Vedashree Vidwans Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2723369 Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-cert Reviewed-by: Seema Khowala Reviewed-by: svc_kernel_abi Reviewed-by: svcacv GVS: Gerrit_Virtual_Submit --- common/tegra_hwpm_ip_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tegra_hwpm_ip_utils.c b/common/tegra_hwpm_ip_utils.c index 77b449b..002ad1a 100644 --- a/common/tegra_hwpm_ip_utils.c +++ b/common/tegra_hwpm_ip_utils.c @@ -406,7 +406,7 @@ static bool tegra_hwpm_addr_in_all_elements(struct tegra_soc_hwpm *hwpm, /* Address not in this instance corresponding to a_type */ tegra_hwpm_dbg(hwpm, hwpm_verbose, "IP %d inst_idx %d: " "addr 0x%llx not in type %d elements", - *ip_idx, find_addr, *inst_idx, a_type); + *ip_idx, *inst_idx, find_addr, a_type); return false; }