diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-11-29 06:26:28 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-27 14:02:09 +0100 |
| commit | 47c8b6cf1d08f0ad40d7ea7b025442e51b35ee1f (patch) | |
| tree | 60ed4cf1ef71eaa66dc3a4c788060a8ad86452d0 /scripts/stackusage | |
| parent | ef1f520cf57438bb37b17f22b0988e3af936906d (diff) | |
| download | linux-47c8b6cf1d08f0ad40d7ea7b025442e51b35ee1f.tar.gz linux-47c8b6cf1d08f0ad40d7ea7b025442e51b35ee1f.tar.bz2 linux-47c8b6cf1d08f0ad40d7ea7b025442e51b35ee1f.zip | |
drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()
commit 9398332f23fab10c5ec57c168b44e72997d6318e upstream.
drm_mode_vrefresh() is trying to avoid divide by zero
by checking whether htotal or vtotal are zero. But we may
still end up with a div-by-zero of vtotal*htotal*...
Cc: stable@vger.kernel.org
Reported-by: syzbot+622bba18029bcde672e1@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=622bba18029bcde672e1
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241129042629.18280-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
