aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorEvan Quan <[email protected]>2020-05-25 14:29:10 +0800
committerAlex Deucher <[email protected]>2020-05-28 14:00:50 -0400
commit2b7ad277e96577e1349072f7e2bab047917ed10d (patch)
treefa35379376a7bd7c8c1d0883640862beecb1ae45 /tools/perf/scripts/python/netdev-times.py
parent1aad7078191116f8a363466fcf461f2325c5def2 (diff)
drm/amd/powerplay: check whether SMU IP is enabled before access
Since on early phase of bringup, the SMU IP may be not enabled or supported. Without this, we may hit null pointer dereference on accessing smu->adev. Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Yong Zhao <[email protected]> Tested-by: Yong Zhao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions