Page MenuHomeFreeBSD

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

Authored by arybchik on Jul 26 2019, 3:02 PM.
Tags
None
Referenced Files
F106148526: D21075.diff
Thu, Dec 26, 4:56 AM
Unknown Object (File)
Sun, Dec 22, 8:30 AM
Unknown Object (File)
Oct 22 2024, 1:35 PM
Unknown Object (File)
Oct 17 2024, 4:52 AM
Unknown Object (File)
Sep 26 2024, 12:03 PM
Unknown Object (File)
Sep 18 2024, 5:29 AM
Unknown Object (File)
Sep 17 2024, 10:29 PM
Unknown Object (File)
Sep 5 2024, 3:53 PM
Subscribers

Details

Summary

Substitute driver-defined P2ALIGN() with EFX_P2ALIGN() 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable