OpenCloudOS-Kernel/drivers/video/fbdev/geode
Wei Chen 61ac4b86a4 fbdev: lxfb: Fix potential divide by zero
var->pixclock can be assigned to zero by user. Without proper
check, divide by zero would occur in lx_set_clock.

Error out if var->pixclock is zero.

Signed-off-by: Wei Chen <harperchen1110@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2023-03-16 16:18:17 +01:00
..
Kconfig fbdev: geode: don't build on UML 2022-12-14 20:01:51 +01:00
Makefile
display_gx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
display_gx1.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
display_gx1.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
geodefb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
gx1fb_core.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
gxfb.h fbdev: gxfb: use generic power management 2020-09-08 13:33:09 +02:00
gxfb_core.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
lxfb.h fbdev: lxfb: use generic power management 2020-09-08 13:33:10 +02:00
lxfb_core.c fbdev: lxfb: Fix potential divide by zero 2023-03-16 16:18:17 +01:00
lxfb_ops.c video: fbdev: lxfb_ops: Fix fall-through warnings for Clang 2020-11-22 22:58:55 +01:00
suspend_gx.c fbdev: gxfb: use generic power management 2020-09-08 13:33:09 +02:00
video_cs5530.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
video_cs5530.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
video_gx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00