diff options
author | Yu Songping <yusongping@huawei.com> | 2022-11-24 04:52:37 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-11-29 19:03:37 +0300 |
commit | 484d7dcc709da46a5976c9530eeff931e9ecba82 (patch) | |
tree | db307a9979976afe19c1f828cad475d5f65cb5d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5a2a19b7ac59d667d6a3221e7d50b4ab9937792b (diff) | |
download | linux-484d7dcc709da46a5976c9530eeff931e9ecba82.tar.xz |
swsmu/amdgpu_smu: Fix the wrong if-condition
The logical operator '&&' will make
smu->ppt_funcs->set_gfx_power_up_by_imu segment fault when
smu->ppt_funcs is NULL.
Signed-off-by: Yu Songping <yusongping@huawei.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions