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
F154290196: D52071.id161633.diff
Mon, Apr 27, 3:36 PM
Unknown Object (File)
Tue, Apr 21, 8:48 PM
Unknown Object (File)
Tue, Apr 21, 3:58 PM
Unknown Object (File)
Tue, Apr 21, 9:56 AM
Unknown Object (File)
Tue, Apr 21, 3:14 AM
Unknown Object (File)
Mon, Apr 20, 2:11 PM
Unknown Object (File)
Sun, Apr 19, 9:46 AM
Unknown Object (File)
Wed, Apr 15, 5:40 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 Not Applicable
Unit
Tests Not Applicable