We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27aa922 commit c2f491fCopy full SHA for c2f491f
include/osdep_service_linux.h
@@ -359,7 +359,9 @@ static inline void timer_hdl(struct timer_list *in_timer)
359
static inline void timer_hdl(unsigned long cntx)
360
#endif
361
{
362
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0))
363
+ _timer *ptimer = timer_container_of(ptimer, in_timer, timer);
364
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))
365
_timer *ptimer = from_timer(ptimer, in_timer, timer);
366
#else
367
_timer *ptimer = (_timer *)cntx;
0 commit comments