linux/drivers/gpu/drm/amd/display
Gustavo A. R. Silva fe78627d43 drm/amd/display: fix type of variable
Currently, the maximum value that *counter* can reach is 255, and
code at line 150: while (counter < 1000) { implies a bigger value
could be expected.

Fix this by changing the type of variable *counter* from uint8_t
to uint16_t.

Addresses-Coverity-ID: 1470030 ("Operands don't affect result")
Fixes: 2b6199a1d1 ("drm/amd/display: replace msleep with udelay in fbc path")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-06-15 11:47:15 -05:00
..
amdgpu_dm drm/amd/display: Fix stale buffer object (bo) use 2018-06-13 13:45:23 -05:00
dc drm/amd/display: fix type of variable 2018-06-15 11:47:15 -05:00
include drm/amd/display: fix dscl_manual_ratio_init 2018-05-29 13:28:29 -05:00
modules Merge branch 'drm-next-4.18' of git://people.freedesktop.org/~agd5f/linux into drm-next 2018-05-25 10:28:33 +10:00
Kconfig drm/amdgpu/display: remove VEGA20 config option 2018-05-18 16:08:18 -05:00
Makefile drm/amd: Remove inclusion of non-existing include directories 2018-02-26 23:09:38 -05:00
TODO drm/amd/display: Add TODO item to remove vector.c 2017-12-14 11:01:13 -05:00