1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:57:35 +00:00

Kernel: Remove some unnecessary leaking of kernel pointers into dmesg

There's a lot more of this and we need to stop printing kernel pointers
anywhere but the debug console.
This commit is contained in:
Andreas Kling 2019-12-31 01:22:00 +01:00
parent 66d5ebafa6
commit 54d182f553
4 changed files with 11 additions and 8 deletions

View file

@ -35,7 +35,7 @@ KResultOr<Region*> MBVGADevice::mmap(Process& process, FileDescription&, Virtual
0,
"MBVGA Framebuffer",
prot);
kprintf("MBVGA: %s(%u) created Region{%p} with size %u for framebuffer P%x with vaddr V%p\n",
dbgprintf("MBVGA: %s(%u) created Region{%p} with size %u for framebuffer P%x with vaddr V%p\n",
process.name().characters(), process.pid(),
region, region->size(), m_framebuffer_address.as_ptr(), region->vaddr().get());
ASSERT(region);