diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-04-14 08:58:55 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-15 16:32:45 -0400 |
| commit | 90cb3d8aca1baea9471d28f28d5de1528dd5e424 (patch) | |
| tree | 04a530542a583028f273579873d6c712a50e9c93 /tools/perf/scripts/python/stackcollapse.py | |
| parent | drm/radeon/cik: remove set but not used variables (diff) | |
| download | linux-90cb3d8aca1baea9471d28f28d5de1528dd5e424.tar.gz linux-90cb3d8aca1baea9471d28f28d5de1528dd5e424.zip | |
drm/amdgpu: fix an error code in init_pmu_entry_by_type_and_add()
If the kmemdup() fails then this should return a negative error code
but it currently returns success
Fixes: b4a7db71ea06 ("drm/amdgpu: add per device user friendly xgmi events for vega20")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.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
