mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
Kernel: Fix some warnings about passing non-POD to kprintf
This commit is contained in:
parent
d91c40de3b
commit
62c2309336
1 changed files with 4 additions and 4 deletions
|
@ -386,7 +386,7 @@ void MemoryManager::deallocate_user_physical_page(PhysicalPage&& page)
|
||||||
if (!region.contains(page)) {
|
if (!region.contains(page)) {
|
||||||
kprintf(
|
kprintf(
|
||||||
"MM: deallocate_user_physical_page: %p not in %p -> %p\n",
|
"MM: deallocate_user_physical_page: %p not in %p -> %p\n",
|
||||||
page.paddr(), region.lower().get(), region.upper().get());
|
page.paddr().get(), region.lower().get(), region.upper().get());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -396,7 +396,7 @@ void MemoryManager::deallocate_user_physical_page(PhysicalPage&& page)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
kprintf("MM: deallocate_user_physical_page couldn't figure out region for user page @ %p\n", page.paddr());
|
kprintf("MM: deallocate_user_physical_page couldn't figure out region for user page @ %p\n", page.paddr().get());
|
||||||
ASSERT_NOT_REACHED();
|
ASSERT_NOT_REACHED();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -446,7 +446,7 @@ void MemoryManager::deallocate_supervisor_physical_page(PhysicalPage&& page)
|
||||||
if (!region.contains(page)) {
|
if (!region.contains(page)) {
|
||||||
kprintf(
|
kprintf(
|
||||||
"MM: deallocate_supervisor_physical_page: %p not in %p -> %p\n",
|
"MM: deallocate_supervisor_physical_page: %p not in %p -> %p\n",
|
||||||
page.paddr(), region.lower().get(), region.upper().get());
|
page.paddr().get(), region.lower().get(), region.upper().get());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -455,7 +455,7 @@ void MemoryManager::deallocate_supervisor_physical_page(PhysicalPage&& page)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
kprintf("MM: deallocate_supervisor_physical_page couldn't figure out region for super page @ %p\n", page.paddr());
|
kprintf("MM: deallocate_supervisor_physical_page couldn't figure out region for super page @ %p\n", page.paddr().get());
|
||||||
ASSERT_NOT_REACHED();
|
ASSERT_NOT_REACHED();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue