diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2017-06-07 09:57:42 -0700 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2017-06-14 14:59:07 -0700 |
commit | 6311f63de02ee04d93016242977ade4727089de8 (patch) | |
tree | 831af3c8fefba670513cfc5d4b1838df1266b3ed /lib/psci/psci_main.c | |
parent | dfe30efb1d5ae7db8f216bb1d5f2c2b58afec33b (diff) |
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 <vwadekar@nvidia.com>
Diffstat (limited to 'lib/psci/psci_main.c')
-rw-r--r-- | lib/psci/psci_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |