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-i2c.c | ||
| savagefb.h | ||
| savagefb_accel.c | ||
| savagefb_driver.c | ||