Files
linux/drivers/gpu/drm
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
..
2018-06-15 11:47:15 -05:00
2018-01-30 18:05:25 +01:00
2018-04-25 09:09:22 +02:00
2018-05-04 00:13:41 +02:00
2017-12-27 19:00:09 -05:00
2018-05-17 15:03:40 +10:00
2018-04-25 09:09:22 +02:00
2018-05-08 14:10:01 +03:00
2018-03-29 19:14:21 +03:00
2018-05-03 21:26:32 +02:00
2018-05-03 21:26:32 +02:00
2018-05-04 11:36:45 +02:00