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/cpus | |
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/cpus')
-rw-r--r-- | lib/cpus/errata_report.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpus/errata_report.c b/lib/cpus/errata_report.c index 4d9757e0..1e1fc786 100644 --- a/lib/cpus/errata_report.c +++ b/lib/cpus/errata_report.c @@ -60,7 +60,7 @@ int errata_needs_reporting(spinlock_t *lock, uint32_t *reported) * Applied: INFO * Not applied: VERBOSE */ -void errata_print_msg(int status, const char *cpu, const char *id) +void errata_print_msg(unsigned int status, const char *cpu, const char *id) { /* Errata status strings */ static const char *const errata_status_str[] = { |