diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-04-09 15:23:46 +0200 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-04-10 16:54:38 +0200 |
| commit | a31e4518bec70333a0a98f2946a12b53b45fe5b9 (patch) | |
| tree | 571ca627343f574015bafe46ce00fcf544d38cfe /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 8f98b81fe011e1879e6a7b1247e69e06a5e17af2 (diff) | |
fbdev: udlfb: avoid divide-by-zero on FBIOPUT_VSCREENINFO
Much like commit 19f953e74356 ("fbdev: fb_pm2fb: Avoid potential divide
by zero error"), we also need to prevent that same crash from happening
in the udlfb driver as it uses pixclock directly when dividing, which
will crash.
Cc: Bernie Thompson <bernie@plugable.com>
Cc: Helge Deller <deller@gmx.de>
Fixes: 59277b679f8b ("Staging: udlfb: add dynamic modeset support")
Assisted-by: gregkh_clanker_t1000
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
