aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorRex Zhu <[email protected]>2018-09-20 11:50:26 +0800
committerAlex Deucher <[email protected]>2018-10-09 17:00:25 -0500
commitc52dcf49195d06319189c7f1dd8b62bfca545197 (patch)
treeb4e6003fff6f0dfa55d57059e496d9d249839d0a /tools/perf/scripts/python/intel-pt-events.py
parentb3ca0f397ead2d794921ec3a08c132dadb37874e (diff)
drm/amd/pp: Avoid divide-by-zero in fan_ctrl_set_fan_speed_rpm
The minRPM speed maybe equal to zero. so need to check input RPM not equal to 0, otherwise cause divide-by-zero driver crash. Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions