[PATCH v2 3/3] cyclic: make clients embed a struct cyclic_info in their own data structure

Rasmus Villemoes rasmus.villemoes at prevas.dk
Sun May 19 21:44:10 CEST 2024


On 18/05/2024 09.34, Stefan Roese wrote:

> This introduces some problems when compiling e.g. sandbox:
> 
> In file included from test/common/cyclic.c:10:
> test/common/cyclic.c: In function ‘dm_test_cyclic_running’:
> test/common/cyclic.c:25:42: warning: passing argument 1 of
> ‘cyclic_register’ from incompatible pointer type
> [-Wincompatible-pointer-types]
>    25 |         ut_assertnonnull(cyclic_register(cyclic_test, 10 * 1000,
> "cyclic_demo",
>       |                                          ^~~~~~~~~~~
>       |                                          |
>       |                                          void (*)(void *)
> include/test/ut.h:298:29: note: in definition of macro ‘ut_assertnonnull’
[...]
> 
> Could you please also change the test file accordingly? I'll then
> try to get this upstream shortly.

Whoops, I don't know how I managed to miss that when grepping for users.
Sorry about that. Updated version coming shortly.

Rasmus



More information about the U-Boot mailing list