mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
108019a7e6
Add suffix ULL to constant 1000 in order to give the compiler complete information about the proper arithmetic to use. Notice that such constant is used in a context that expects an expression of type u64 (64 bits, unsigned) and the following expression is currently being evaluated using 32-bit arithmetic: mode->clock * 1000 Addresses-Coverity-ID: 1466139 ("Unintentional integer overflow") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20180704142255.GA8614@embeddedor.com |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pl111_debugfs.c | ||
pl111_display.c | ||
pl111_drm.h | ||
pl111_drv.c | ||
pl111_nomadik.c | ||
pl111_nomadik.h | ||
pl111_versatile.c | ||
pl111_versatile.h | ||
pl111_vexpress.c | ||
pl111_vexpress.h |