diff options
author | Sean Paul <seanpaul@chromium.org> | 2018-10-08 14:24:14 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-10-08 20:16:01 -0400 |
commit | 16f37102181e23ec4bec88fe1cfdd6c3c24dd1ed (patch) | |
tree | a073db2f7f9f9b919bd91248fb27762e3a7fdb77 /tools/perf/scripts/python | |
parent | 0f5427219bdf3e3d0ba94e4fbefe623a57616825 (diff) |
drm/msm: a6xx: Fix improper u64 division
This patch uses the proper do_div() macro to perform u64 division and
guards against overflow if the result is too large for the unsigned long
return type
Fixes: a2c3c0a54d4c drm/msm/a6xx: Add devfreq support for a6xx
Cc: Sharat Masetty <smasetty@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions