-
- Downloads
mmu: fix an unsigned/signed comparison error
-Werror=sign-compare complains about when comparing (unsigned)level with page_mapper.nr_page_sizes(). Since nr_page_sizes() is meaningful only when it's non-negative and the mmu::nr_page_sizes is unsigned, changing the return types of all nr_page_sizes functions to unsigned is reasonable. Signed-off-by:Boqun Feng <boqun.feng@linux.vnet.ibm.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
Loading
Please register or sign in to comment