]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
video: fbdev: simplefb: Fix info message during probe
authorPeter Robinson <pbrobinson@gmail.com>
Mon, 28 Dec 2020 18:39:34 +0000 (18:39 +0000)
committerHans de Goede <hdegoede@redhat.com>
Wed, 20 Jan 2021 11:06:32 +0000 (12:06 +0100)
commit5269a618eec7f8bbc659658865138cd218d834f9
tree512cf14b28710713dd1b1dfeb892e7039f249db9
parentd14413946f42acaf706c3c440ec2c72125a20b86
video: fbdev: simplefb: Fix info message during probe

The info message was showing the mapped address for the framebuffer. To avoid
security problems, all virtual addresses are converted to __ptrval__, so
the message has pointless information:

simple-framebuffer 3ea9b000.framebuffer: framebuffer at 0x3ea9b000, 0x12c000 bytes, mapped to 0x(____ptrval____)

Drop the extraneous bits to clean up the message:

simple-framebuffer 3ea9b000.framebuffer: framebuffer at 0x3ea9b000, 0x12c000 bytes

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201228183934.1117012-1-pbrobinson@gmail.com
drivers/video/fbdev/simplefb.c