linux_dsm_epyc7002/drivers/gpu/drm/arm
Gustavo A. R. Silva c550b60c64 drm/komeda: Fix potential integer overflow in komeda_crtc_update_clock_ratio
Add suffix ULL to constant 1000 in order to avoid a potential integer
overflow and give the compiler complete information about the proper
arithmetic to use. Notice that this constant is being used in a context
that expects an expression of type u64, but it's currently evaluated
using 32-bit arithmetic.

Addresses-Coverity-ID: 1485796 ("Unintentional integer overflow")
Fixes: ed22c6d930 ("drm/komeda: Use drm_display_mode "crtc_" prefixed hardware timings")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: james qian wang (Arm Technology China) <james.qian.wang@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190812000801.GA29204@embeddedor
2019-08-12 19:28:49 +08:00
..
display drm/komeda: Fix potential integer overflow in komeda_crtc_update_clock_ratio 2019-08-12 19:28:49 +08:00
hdlcd_crtc.c drm/arm/hdlcd: Allow a bit of clock tolerance 2019-06-04 15:12:45 +01:00
hdlcd_drv.c drm/arm: Drop drm_gem_prime_export/import 2019-06-21 20:02:38 +02:00
hdlcd_drv.h drm/arm/hdlcd: Use drm_fb_cma_fbdev_init/fini() 2018-07-31 16:31:50 +01:00
hdlcd_regs.h
Kconfig drm/komeda: komeda_dev/pipeline/component definition and initialzation 2019-01-14 11:09:23 +00:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
malidp_crtc.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
malidp_drv.c Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
malidp_drv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 443 2019-06-05 17:37:17 +02:00
malidp_hw.c drm: mali-dp: Mark expected switch fall-through 2019-08-02 17:26:00 +01:00
malidp_hw.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 443 2019-06-05 17:37:17 +02:00
malidp_mw.c drm: Remove users of drm_format_num_planes 2019-05-20 13:32:57 +02:00
malidp_mw.h drm: mali-dp: Add writeback connector 2018-07-05 15:19:03 +01:00
malidp_planes.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
malidp_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 443 2019-06-05 17:37:17 +02:00