diff options
author | Maxime Ripard <maxime@cerno.tech> | 2023-05-05 14:25:04 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-06-09 04:01:05 +0300 |
commit | 9633b4c17b734de8308461182facc931042824b7 (patch) | |
tree | 80f9000135ff6725a81e4844d6218c63ff33da8e /drivers/clk/clk.c | |
parent | ed046ac74da0b5602566073023a1519b5ae657b7 (diff) | |
download | linux-9633b4c17b734de8308461182facc931042824b7.tar.xz |
clk: test: Fix type sign of rounded rate variables
clk_round_rate() may return a negative error code, but most of the
variables we defined to store its returned value are unsigned.
This obviously leads to issues on error.
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20221018-clk-range-checks-fixes-v4-2-971d5077e7d2@cerno.tech
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk.c')
0 files changed, 0 insertions, 0 deletions