Page MenuHomeFreeBSD

sfxge(4): fix power of 2 round up when align has smaller type
ClosedPublic

Authored by arybchik on Jul 26 2019, 3:02 PM.
Tags
None
Referenced Files
F106333112: D21074.diff
Sat, Dec 28, 8:55 PM
Unknown Object (File)
Oct 24 2024, 2:58 AM
Unknown Object (File)
Oct 23 2024, 6:52 AM
Unknown Object (File)
Oct 21 2024, 12:33 PM
Unknown Object (File)
Oct 21 2024, 11:22 AM
Unknown Object (File)
Oct 8 2024, 12:39 PM
Unknown Object (File)
Oct 3 2024, 9:23 PM
Unknown Object (File)
Oct 1 2024, 5:14 PM
Subscribers

Details

Summary

Substitute driver-defined P2ROUNDUP() h with EFX_P2ROUNDUP()
defined in libefx.

Cast value and alignment to one specified type to guarantee result
correctness.

Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days

Test Plan

amd64 tinderbox build tested

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25515
Build 24133: arc lint + arc unit