Re: timer API change from kernel 4.9 to 5.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 30, 2020 at 06:34:07PM +0200, Fabien R wrote:
> 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 ?

Yes, in the kernel changelog itself, have you looked?  Try just looking
at the log and changes for a specific file instead of the whole thing:
	git log -p path/to/a/single/file.c

4.9 -> 5.0 is a HUGE jump, many years there, you might want to go in
smaller steps :)

thanks,

greg k-h

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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux