summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHarsh Sahu <hsahu@codeaurora.org>2017-01-27 17:49:40 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-07 17:22:40 -0800
commit6bfc1bf7ebe49718be7c10d4bff6d39f758ce716 (patch)
tree730b632158e6242dc87dc6805d15f10bf17e82b0 /tools/perf/scripts/python
parent2aa89ab3ff59a788321bc6af782d639cfc8dab1f (diff)
msm: mdss: avoid overflow in mdp clock rate calculation for rotator
The width and height in calculation of the clk_rate comes from user. This change checks these values against its maximum value allowed. In case of overflow it returns immediately with invalid argument. Change-Id: Idbf7cf0c425769ab7b672b781aa791bbfd77916d Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions