Skip to content
Snippets Groups Projects
Commit e549bc1d authored by Guiling Deng's avatar Guiling Deng Committed by Jonas Höppner
Browse files

fbdev: fbmem: Fix logo center image dx issue


Image.dx gets wrong value because of missing '()'.

If xres == logo->width and n == 1, image.dx = -16.

Signed-off-by: default avatarGuiling Deng <greens9@163.com>
Fixes: 3d8b1933 ("fbdev: fbmem: add config option to center the bootup logo")
Cc: stable@vger.kernel.org # v5.0+
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
(cherry picked from commit 971afb3bc2ef89f13cc89ad0400748eb2d9ef78a)
parent 9911e011
No related branches found
No related tags found
No related merge requests found
Pipeline #109567 passed with warnings with stage
in 33 minutes and 14 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment