Page MenuHomeFreeBSD

linuxkpi: Define `min_array()` and `max_array()`
ClosedPublic

Authored by dumbbell on Apr 22 2026, 6:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 26, 10:33 PM
Unknown Object (File)
Sun, Jul 26, 1:33 PM
Unknown Object (File)
Sun, Jul 26, 10:11 AM
Unknown Object (File)
Wed, Jul 22, 9:26 AM
Unknown Object (File)
Mon, Jul 20, 12:15 PM
Unknown Object (File)
Wed, Jul 15, 7:19 AM
Unknown Object (File)
Wed, Jul 15, 7:19 AM
Unknown Object (File)
Sat, Jul 11, 8:56 PM
Subscribers

Details

Summary

They are macros that return the minimum or maximum values of an array of integers. They assume that the array contains elements.

The i915 DRM driver started to use min_array() in Linux 6.12.x.

This is part of the update of DRM drivers to Linux 6.12.81.

Sponsored by: The FreeBSD Foundation

Diff Detail

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