mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
6ad959b670
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:
|
||
---|---|---|
.. | ||
Makefile | ||
savagefb_accel.c | ||
savagefb_driver.c | ||
savagefb-i2c.c | ||
savagefb.h |