mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
c550b60c64
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:
|
||
---|---|---|
.. | ||
d71 | ||
komeda_color_mgmt.c | ||
komeda_color_mgmt.h | ||
komeda_crtc.c | ||
komeda_dev.c | ||
komeda_dev.h | ||
komeda_drv.c | ||
komeda_format_caps.c | ||
komeda_format_caps.h | ||
komeda_framebuffer.c | ||
komeda_framebuffer.h | ||
komeda_kms.c | ||
komeda_kms.h | ||
komeda_pipeline_state.c | ||
komeda_pipeline.c | ||
komeda_pipeline.h | ||
komeda_plane.c | ||
komeda_private_obj.c | ||
komeda_wb_connector.c | ||
Makefile |