linux_dsm_epyc7002/drivers/gpu/drm/arm/display/komeda
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
..
d71 drm/komeda: Enable dual-link support 2019-08-02 17:31:39 +01:00
komeda_color_mgmt.c drm/komeda: Enable color-encoding (YUV format) support 2019-06-19 11:42:17 +01:00
komeda_color_mgmt.h drm/komeda: Enable color-encoding (YUV format) support 2019-06-19 11:42:17 +01:00
komeda_crtc.c drm/komeda: Fix potential integer overflow in komeda_crtc_update_clock_ratio 2019-08-12 19:28:49 +08:00
komeda_dev.c drm/komeda: Enable dual-link support 2019-08-02 17:31:39 +01:00
komeda_dev.h drm/komeda: Rename main engine clk name "mclk" to "aclk" 2019-06-19 11:42:17 +01:00
komeda_drv.c drm/komeda: Enable dual-link support 2019-08-02 17:31:39 +01:00
komeda_format_caps.c drm/komeda: Adds limitation check for AFBC wide block not support Rot90 2019-06-19 11:42:17 +01:00
komeda_format_caps.h drm/komeda: Add format support for Y0L2, P010, YUV420_8/10BIT 2019-06-19 11:42:17 +01:00
komeda_framebuffer.c drm/komeda: Correct printk format specifier for "size_t" 2019-06-19 17:03:38 +01:00
komeda_framebuffer.h drm/komeda: Add komeda_fb_check_src_coords 2019-06-19 11:42:17 +01:00
komeda_kms.c Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
komeda_kms.h drm/komeda: Enable dual-link support 2019-08-02 17:31:39 +01:00
komeda_pipeline_state.c drm/komeda: Enable dual-link support 2019-08-02 17:31:39 +01:00
komeda_pipeline.c drm/komeda: Enable dual-link support 2019-08-02 17:31:39 +01:00
komeda_pipeline.h drm/komeda: Enable dual-link support 2019-08-02 17:31:39 +01:00
komeda_plane.c drm/komeda: remove set but not used variable 'old' 2019-07-23 09:04:49 +02:00
komeda_private_obj.c drm/komeda: Add new component komeda_splitter 2019-06-19 11:42:18 +01:00
komeda_wb_connector.c drm/komeda: Computing layer_split internally 2019-07-08 15:05:21 +01:00
Makefile drm/komeda: Enable color-encoding (YUV format) support 2019-06-19 11:42:17 +01:00