arch: x86: Fix 14.4 guideline violation
The controlling expression of an if statement has to be an essentially boolean type. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
95cd021cea
commit
85b2bd63c1
1 changed files with 1 additions and 1 deletions
|
@ -1139,7 +1139,7 @@ static void identity_map_remove(void)
|
|||
* zero the top-level table entries corresponding to the
|
||||
* physical mapping.
|
||||
*/
|
||||
while (size) {
|
||||
while (size != 0U) {
|
||||
pentry_t *entry = get_entry_ptr(z_x86_kernel_ptables, pos, 0);
|
||||
|
||||
/* set_pte */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue