mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +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)) {
|
||||
kprintf(
|
||||
"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;
|
||||
}
|
||||
|
||||
|
@ -396,7 +396,7 @@ void MemoryManager::deallocate_user_physical_page(PhysicalPage&& page)
|
|||
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();
|
||||
}
|
||||
|
||||
|
@ -446,7 +446,7 @@ void MemoryManager::deallocate_supervisor_physical_page(PhysicalPage&& page)
|
|||
if (!region.contains(page)) {
|
||||
kprintf(
|
||||
"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;
|
||||
}
|
||||
|
||||
|
@ -455,7 +455,7 @@ void MemoryManager::deallocate_supervisor_physical_page(PhysicalPage&& page)
|
|||
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue