Skip to content

Fix: add from_timer() helper for kernel >=6.14 (tested on 6.16)#258

Open
cyb3rch3f wants to merge 1 commit intomorrownr:mainfrom
cyb3rch3f:main
Open

Fix: add from_timer() helper for kernel >=6.14 (tested on 6.16)#258
cyb3rch3f wants to merge 1 commit intomorrownr:mainfrom
cyb3rch3f:main

Conversation

@cyb3rch3f
Copy link
Copy Markdown

Fix build error on kernel 6.16 (missing from_timer helper)

This patch adds a local definition of the from_timer() helper in
include/osdep_service_linux.h for kernels ≥6.14. Without this, DKMS
builds fail on modern kernels (e.g., 6.16.8+kali-amd64) with
'implicit declaration of function from_timer'.

Tested on:

  • Kali Linux 2025, kernel 6.16.8+kali-amd64
  • GCC 15.2.0
  • DKMS 3.2.2

Driver builds and loads successfully after this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant