We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 66c015a + 20ec77a commit 5df613dCopy full SHA for 5df613d
1 file changed
include/osdep_service_linux.h
@@ -351,7 +351,9 @@ static inline void timer_hdl(struct timer_list *in_timer)
351
static inline void timer_hdl(unsigned long cntx)
352
#endif
353
{
354
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0))
355
+ _timer *ptimer = timer_container_of(ptimer, in_timer, timer);
356
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))
357
_timer *ptimer = from_timer(ptimer, in_timer, timer);
358
#else
359
_timer *ptimer = (_timer *)cntx;
0 commit comments