aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2021-04-30 10:16:54 -0700
committerAlex Deucher <alexander.deucher@amd.com>2021-05-10 18:06:45 -0400
commit2b24c199388e09afea5ca11c6284b320f2ae8ed6 (patch)
treedb63238c1545e3b9ac2f000d3e05ee0cf9a5a3f5 /tools/perf/scripts/python/stackcollapse.py
parentdrm/radeon: Avoid power table parsing memory leaks (diff)
downloadwireguard-linux-2b24c199388e09afea5ca11c6284b320f2ae8ed6.tar.xz
wireguard-linux-2b24c199388e09afea5ca11c6284b320f2ae8ed6.zip
drm/amd/pm: initialize variable
Static analysis reports this problem amdgpu_pm.c:478:16: warning: The right operand of '<' is a garbage value for (i = 0; i < data.nums; i++) { ^ ~~~~~~~~~ In some cases data is not set. Initialize to 0 and flag not setting data as an error with the existing check. Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions