diff options
| author | xinhui pan <xinhui.pan@amd.com> | 2019-03-19 06:16:32 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2019-03-28 06:39:29 +0300 |
| commit | 73aa8e1a3a84609dce2b84391308017331cc8f24 (patch) | |
| tree | ea1a54d44fe5dca042067f35f4d863d21ab19330 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 6c851417336af718587a83b27fbe83480c31fc2f (diff) | |
| download | linux-73aa8e1a3a84609dce2b84391308017331cc8f24.tar.xz | |
drm/amdgpu: Fix some sanity check
ras context might be NULL, so move con->h_data after check !con
also fix sizeof wrong type while at it.
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
