From 6311f63de02ee04d93016242977ade4727089de8 Mon Sep 17 00:00:00 2001 From: Varun Wadekar Date: Wed, 7 Jun 2017 09:57:42 -0700 Subject: Tegra: enable 'signed-comparison' compilation warning/errors This patch enables the 'sign-compare' flag, to enable warning/errors for comparisons between signed/unsigned variables. The warning has been enabled for all the Tegra platforms, to start with. Signed-off-by: Varun Wadekar --- lib/psci/psci_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/psci/psci_main.c') diff --git a/lib/psci/psci_main.c b/lib/psci/psci_main.c index 2a6644b6..257479aa 100644 --- a/lib/psci/psci_main.c +++ b/lib/psci/psci_main.c @@ -209,7 +209,7 @@ int psci_cpu_off(void) int psci_affinity_info(u_register_t target_affinity, unsigned int lowest_affinity_level) { - unsigned int target_idx; + int target_idx; /* We dont support level higher than PSCI_CPU_PWR_LVL */ if (lowest_affinity_level > PSCI_CPU_PWR_LVL) -- cgit v1.2.3