linux/drivers/video
Cai Xinchen 4b2c67e30b fbdev: savage: Handle err return when savagefb_check_var failed
commit 6ad959b670 upstream.

The commit 04e5eac8f3ab("fbdev: savage: Error out if pixclock equals zero")
checks the value of pixclock to avoid divide-by-zero error. However
the function savagefb_probe doesn't handle the error return of
savagefb_check_var. When pixclock is 0, it will cause divide-by-zero error.

Fixes: 04e5eac8f3 ("fbdev: savage: Error out if pixclock equals zero")
Signed-off-by: Cai Xinchen <caixinchen1@huawei.com>
Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-06-16 13:39:57 +02:00
..
backlight backlight: lp8788: Fully initialize backlight_properties during probe 2024-03-26 18:21:31 -04:00
console parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI 2022-06-29 09:03:29 +02:00
fbdev fbdev: savage: Handle err return when savagefb_check_var failed 2024-06-16 13:39:57 +02:00
logo
display_timing.c
hdmi.c
Kconfig
Makefile
of_display_timing.c
of_videomode.c
vgastate.c
videomode.c