Commit 2676f6a9 authored by Varun Wadekar's avatar Varun Wadekar Committed by David Cunado
Browse files

xlat_tables_v2: fix signed/unsigned comparisons



This patch changes input param level in xlat_tables_print_internal() to
an unsigned int to fix the signed/unsigned comparison warnings. The
compiler complains about these warnings, thus halting the build flow
for Tegra platforms.

Change-Id: Ieccc262a63daca7a26ca6a14d81466397af8b89f
Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
Signed-off-by: default avatarDavid Cunado <david.cunado@arm.com>
parent 3705cd47
...@@ -953,7 +953,7 @@ static const char *invalid_descriptors_ommited = ...@@ -953,7 +953,7 @@ static const char *invalid_descriptors_ommited =
*/ */
static void xlat_tables_print_internal(const uintptr_t table_base_va, static void xlat_tables_print_internal(const uintptr_t table_base_va,
uint64_t *const table_base, const int table_entries, uint64_t *const table_base, const int table_entries,
const int level, const uint64_t execute_never_mask) const unsigned int level, const uint64_t execute_never_mask)
{ {
assert(level <= XLAT_TABLE_LEVEL_MAX); assert(level <= XLAT_TABLE_LEVEL_MAX);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment