aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-06-15 08:32:28 -0500
committerAlex Deucher <[email protected]>2018-06-15 11:47:15 -0500
commitfe78627d430435d22316fe39f2012ece31bf23c2 (patch)
treec06c8144b917c531fbf12dc488c78c4f5e7493a0 /tools/perf/scripts/python/bin/stackcollapse-report
parent5c2199270275581a06571960e7d6abac008ff060 (diff)
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: 2b6199a1d1b7 ("drm/amd/display: replace msleep with udelay in fbc path") Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions