[PATCH v2 2/2] cyclic: Fix typo in struct cyclic_info description

Stefan Roese sr at denx.de
Wed Jan 22 16:17:15 CET 2025


On 14.01.25 14:28, Patrice Chotard wrote:
> Replace delay_ns by delay_us which is the field name used into
> struct cyclic_info.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
> 
> ---
> 
> Changes in v2:
>    _ Update the comment which still references "ns"

Applied to u-boot-watchdog/master

Thanks,
Stefan

> 
>   include/cyclic.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/cyclic.h b/include/cyclic.h
> index c6c463d68e9..df8b725e3d0 100644
> --- a/include/cyclic.h
> +++ b/include/cyclic.h
> @@ -20,7 +20,7 @@
>    *
>    * @func: Function to call periodically
>    * @name: Name of the cyclic function, e.g. shown in the commands
> - * @delay_ns: Delay is ns after which this function shall get executed
> + * @delay_us: Delay is us after which this function shall get executed
>    * @start_time_us: Start time in us, when this function started its execution
>    * @cpu_time_us: Total CPU time of this function
>    * @run_cnt: Counter of executions occurances

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de



More information about the U-Boot mailing list