timer API change from kernel 4.9 to 5.0

Fabien R theedge456 at free.fr
Wed Sep 30 12:34:07 EDT 2020


Hello,
In timer.h of 4.9, struct timer_list contains a field data which is unsigned long.
In timer.c, call_timer_fn calls the triggered function with data as parameter.
As of 5.0, the field data disappears from struct timer_list and call_timer_fn is used with a struct timer_list *
as parameter.
Is there some info about this change somewhere ?

--
Fabien



More information about the Kernelnewbies mailing list