linux/drivers/video/fbdev/savage
Cai Xinchen 6ad959b670 fbdev: savage: Handle err return when savagefb_check_var failed
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>
2024-04-25 12:04:18 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
savagefb_accel.c
savagefb_driver.c fbdev: savage: Handle err return when savagefb_check_var failed 2024-04-25 12:04:18 +02:00
savagefb-i2c.c
savagefb.h video: fbdev: savagefb: make a variable local 2022-01-30 19:37:03 +01:00