Closed FomalhautWeisszwerg closed 6 years ago
The timer interface seems to have been changed so much. https://lkml.org/lkml/2017/11/25/90 https://github.com/torvalds/linux/commit/844056fd74ebdd826bd23a7d989597e15f478acb#diff-ba8897e9349509c7ca4d37b0704bee9c
In < Linux-4.15, the init_timer
is a macro defined as following:
#define init_timer(timer) \
__init_timer((timer), 0)
And __init_timer
macro is defined as:
#define __init_timer(_timer, _flags) \
init_timer_key((_timer), (_flags), NULL, NULL)
Since Linux-4.15, the timer_setup
is a macro defined as following:
#define timer_setup(timer, callback, flags) \
__init_timer((timer), (callback), (flags))
And __init_timer
macro is defined as:
#define __init_timer(_timer, _fn, _flags) \
init_timer_key((_timer), (_fn), (_flags), NULL, NULL)
Are you going to fix that issue? Fedora 27 runs 4.15 and having that driver would be very nice.
I hereby declare the will to stress test it and send stability/performance feedback
Yes, I'm fixing this issue but not works yet.
On 745701ac181ad5396183b3df14344e51e9f539c6, this driver support the new timer interface on Linux-4.15.
Thanks @alecdotninja :-)
Found on the commit [92b91ec8635177c5a373b73bc878c4c385165dc8]
OS
Compiler
log