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 <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2723369
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit
This commit is contained in:
Vedashree Vidwans
2022-06-01 10:26:55 -07:00
committed by mobile promotions
parent 72aa834670
commit 97c0f1da08

View File

@@ -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;
}