diff options
| author | Sudeep Holla <[email protected]> | 2017-05-18 17:19:28 +0100 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2017-06-01 02:13:11 -0700 |
| commit | 7374aec95636ca39409545eba4ef5ff3125c2346 (patch) | |
| tree | a27e5d91cdd7f3be460e69ede94d717c6d68c8cb /tools/perf/scripts/python/stackcollapse.py | |
| parent | 80b4ae7acea48774761a54ba8432206b20e4d8f1 (diff) | |
clk: scpi: fix return type of __scpi_dvfs_round_rate
The frequencies above the maximum value of signed integer(i.e. 2^31 -1)
will overflow with the current code.
This patch fixes the return type of __scpi_dvfs_round_rate from 'int'
to 'unsigned long'.
Fixes: cd52c2a4b5c4 ("clk: add support for clocks provided by SCP(System Control Processor)")
Cc: Michael Turquette <[email protected]>
Cc: Stephen Boyd <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions