Page MenuHomeFreeBSD

LinuxKPI: Add abs_diff to linux/math.h
ClosedPublic

Authored by wulf on Jun 2 2024, 3:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 7:41 PM
Unknown Object (File)
Nov 23 2024, 10:55 PM
Unknown Object (File)
Nov 23 2024, 12:27 AM
Unknown Object (File)
Nov 22 2024, 10:30 PM
Unknown Object (File)
Nov 22 2024, 6:22 AM
Unknown Object (File)
Nov 21 2024, 12:20 PM
Unknown Object (File)
Nov 21 2024, 2:41 AM
Unknown Object (File)
Nov 19 2024, 4:11 PM
Subscribers

Details

Summary

It returns absolute value of the difference between the arguments.

Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wulf requested review of this revision.Jun 2 2024, 3:32 PM
sys/compat/linuxkpi/common/include/linux/math.h
59

why do we need this version check if we haven't had it before? Is there's a reason add it as comment or to the commit message please.

Add version check explanation to commit message

Add version check explanation to commit message

The explanation is

Add LinuxKPI version check as the macro was moved from drm-kmod to
linux/math.h in Linux kernel commit 46f12960aad (6.6 timeframe).

It seems git arc can not update summary

Thanks for the update!

This revision is now accepted and ready to land.Jun 3 2024, 9:02 PM
This revision was automatically updated to reflect the committed changes.