[PATCH] drivers: clk: Adjust temp var data type to properly match that of struct clk_ops

Sean Anderson seanga2 at gmail.com
Wed Nov 1 22:03:10 CET 2023


On Mon, 15 May 2023 15:49:58 -0400, Nathan Barrett-Morrison wrote:
> In commit 5c5992cb90cf ("clk: Add debugging for return values"), a
> temporary storage variable was added around the ops->get_rate() call
> inside clk_get_rate(), so that the result could be passed through
> log_ret.
> 
> This temporary variable was declared as an int, yet when we look in
> struct clk_ops, we can see this needs to be a ulong:
> ulong (*get_rate)(struct clk *clk);
> 
> [...]

Applied, thanks!

[1/1] drivers: clk: Adjust temp var data type to properly match that of struct clk_ops
      commit: aed6480fadede2b87103568aaa117a423a1c3fdc

Best regards,
-- 
Sean Anderson <seanga2 at gmail.com>


More information about the U-Boot mailing list