aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c
diff options
context:
space:
mode:
authorRoman Smirnov <r.smirnov@omp.ru>2024-03-19 11:13:44 +0300
committerHelge Deller <deller@gmx.de>2024-03-19 13:20:20 +0100
commitc2d953276b8b27459baed1277a4fdd5dd9bd4126 (patch)
treee34231f5c097e9615e72765af90c608aa69ef363 /drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c
parent152609795dbf02f004c86049b75c23f4e68071d8 (diff)
downloadlinux-c2d953276b8b27459baed1277a4fdd5dd9bd4126.tar.gz
fbmon: prevent division by zero in fb_videomode_from_videomode()
The expression htotal * vtotal can have a zero value on overflow. It is necessary to prevent division by zero like in fb_var_to_videomode(). Found by Linux Verification Center (linuxtesting.org) with Svace. Signed-off-by: Roman Smirnov <r.smirnov@omp.ru> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c')
0 files changed, 0 insertions, 0 deletions