clk: test: Fix type sign of rounded rate variables
authorMaxime Ripard <maxime@cerno.tech>
Fri, 5 May 2023 11:25:04 +0000 (13:25 +0200)
committerStephen Boyd <sboyd@kernel.org>
Fri, 9 Jun 2023 01:01:05 +0000 (18:01 -0700)
commit9633b4c17b734de8308461182facc931042824b7
tree80f9000135ff6725a81e4844d6218c63ff33da8e
parented046ac74da0b5602566073023a1519b5ae657b7
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>
drivers/clk/clk_test.c