aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-05-28 23:24:53 +0100
committerAlex Deucher <[email protected]>2020-05-29 13:54:38 -0400
commit2652bda7b4f732e4b2cef82fa7476a7d4b648409 (patch)
tree2168fff90b4a10c05c63f9ba8777918d6f5a7449 /tools/perf/scripts/python
parent48b270bb22dbe27f122ed9b310f23a20d2f39228 (diff)
drm/amdkfd: fix a dereference of pdd before it is null checked
Currently pointer pdd is being dereferenced when assigning pointer dpm and then pdd is being null checked. Fix this by checking if pdd is null before the dereference of pdd occurs. Addresses-Coverity: ("Dereference before null check") Fixes: 32cb59f31362 ("drm/amdkfd: Track SDMA utilization per process") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions