diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2017-05-18 17:19:28 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-06-01 02:13:11 -0700 |
commit | 7374aec95636ca39409545eba4ef5ff3125c2346 (patch) | |
tree | a27e5d91cdd7f3be460e69ede94d717c6d68c8cb /tools/perf/scripts/python/export-to-postgresql.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 <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions