diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-20 19:53:47 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-20 20:19:46 +0100 |
commit | 62c230933663bc42d5c528439c51505ebab0c752 (patch) | |
tree | 579cbbff91d8df1b4f594be0b85344eebd0524f8 /Kernel/VM | |
parent | d91c40de3b86640e554654ee28d5c0dec0c8e1eb (diff) | |
download | serenity-62c230933663bc42d5c528439c51505ebab0c752.zip |
Kernel: Fix some warnings about passing non-POD to kprintf
Diffstat (limited to 'Kernel/VM')
-rw-r--r-- | Kernel/VM/MemoryManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/VM/MemoryManager.cpp b/Kernel/VM/MemoryManager.cpp index 93ade5eb90..b0bc7fbbe4 100644 --- a/Kernel/VM/MemoryManager.cpp +++ b/Kernel/VM/MemoryManager.cpp @@ -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(); } |