kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* timer API change from kernel 4.9 to 5.0
@ 2020-09-30 16:34 Fabien R
  2020-09-30 18:04 ` Greg KH
  2020-09-30 18:48 ` Valdis Klētnieks
  0 siblings, 2 replies; 3+ messages in thread
From: Fabien R @ 2020-09-30 16:34 UTC (permalink / raw)
  To: kernelnewbies

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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-30 18:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-30 16:34 timer API change from kernel 4.9 to 5.0 Fabien R
2020-09-30 18:04 ` Greg KH
2020-09-30 18:48 ` Valdis Klētnieks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).