[PATCH] clk: fix count parameter type for clk_release_all
Sean Anderson
seanga2 at gmail.com
Wed Nov 1 22:03:08 CET 2023
On Mon, 19 Jun 2023 13:47:52 +0300, Eugen Hristev wrote:
> The second parameter for clk_release_all is used as an unsigned
> (which makes sense) but the function prototype declares it as an int.
> This causes warnings/error like such below:
>
> include/clk.h:422:48: error: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Werror=sign-conversion]
> 422 | return clk_release_all(bulk->clks, bulk->count);
>
> [...]
Applied, thanks!
[1/1] clk: fix count parameter type for clk_release_all
commit: b6a56f553318b4c0c8fb8b1ea05f2e15b2662ccb
Best regards,
--
Sean Anderson <seanga2 at gmail.com>
More information about the U-Boot
mailing list