Page MenuHomeFreeBSD

LinuxKPI: correct the LINUXKPI_VERSION check for abs_diff()
ClosedPublic

Authored by bz on Aug 21 2025, 8:59 AM.
Tags
None
Referenced Files
F163265980: D52071.id.diff
Tue, Jul 21, 2:18 PM
Unknown Object (File)
Wed, Jul 15, 6:40 AM
Unknown Object (File)
Wed, Jul 15, 6:40 AM
Unknown Object (File)
Sun, Jul 12, 5:33 PM
Unknown Object (File)
Mon, Jul 6, 4:43 AM
Unknown Object (File)
Sun, Jul 5, 8:00 PM
Unknown Object (File)
Sun, Jul 5, 4:07 PM
Unknown Object (File)
Fri, Jul 3, 6:37 AM
Subscribers

Details

Summary

The code introduced abs_diff() as migrated from drm to standard
linux headers. The LINUXKPI_VERSION check did not allow this to
be visible by default in-tree. Make sure the v6.6 check is optional.
drm-kmod always defines LINUXKPI_VERSION so this should be fine.

Sponsored by: The FreeBSD Foundation
Fixes: afc450fac9f04
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 66409
Build 63292: arc lint + arc unit