diff options
| author | Wei Chen <[email protected]> | 2023-03-15 09:22:54 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2023-03-16 16:18:17 +0100 |
| commit | 44a3b36b42acfc433aaaf526191dd12fbb919fdb (patch) | |
| tree | 2974779ca39bfe92e85466b5c5ac63cf5b3402ef /scripts/gdb/linux/dmesg.py | |
| parent | 61ac4b86a4c047c20d5cb423ddd87496f14d9868 (diff) | |
fbdev: au1200fb: Fix potential divide by zero
var->pixclock can be assigned to zero by user. Without
proper check, divide by zero would occur when invoking
macro PICOS2KHZ in au1200fb_fb_check_var.
Error out if var->pixclock is zero.
Signed-off-by: Wei Chen <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions