Page MenuHomeFreeBSD

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

Authored by dumbbell on Wed, Apr 22, 6:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 28, 11:24 AM
Unknown Object (File)
Mon, Apr 27, 11:01 AM
Unknown Object (File)
Sat, Apr 25, 6:14 PM
Unknown Object (File)
Sat, Apr 25, 6:26 AM
Unknown Object (File)
Sat, Apr 25, 6:18 AM
Unknown Object (File)
Fri, Apr 24, 6:33 AM
Unknown Object (File)
Fri, Apr 24, 6:33 AM
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