efifb: Don't show the mapping VA
The framebuffer mapping virtual address leaks information about the kernel memory layout. Stop logging it. Cc: Peter Jones <pjones@redhat.com> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: linux-fbdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Peter Jones <pjones@redhat.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
parent
ffe1b6c453
commit
a53dd25827
|
@ -247,10 +247,8 @@ static int efifb_probe(struct platform_device *dev)
|
||||||
goto err_release_fb;
|
goto err_release_fb;
|
||||||
}
|
}
|
||||||
|
|
||||||
printk(KERN_INFO "efifb: framebuffer at 0x%lx, mapped to 0x%p, "
|
printk(KERN_INFO "efifb: framebuffer at 0x%lx, using %dk, total %dk\n",
|
||||||
"using %dk, total %dk\n",
|
efifb_fix.smem_start, size_remap/1024, size_total/1024);
|
||||||
efifb_fix.smem_start, info->screen_base,
|
|
||||||
size_remap/1024, size_total/1024);
|
|
||||||
printk(KERN_INFO "efifb: mode is %dx%dx%d, linelength=%d, pages=%d\n",
|
printk(KERN_INFO "efifb: mode is %dx%dx%d, linelength=%d, pages=%d\n",
|
||||||
efifb_defined.xres, efifb_defined.yres,
|
efifb_defined.xres, efifb_defined.yres,
|
||||||
efifb_defined.bits_per_pixel, efifb_fix.line_length,
|
efifb_defined.bits_per_pixel, efifb_fix.line_length,
|
||||||
|
|
Loading…
Reference in a new issue